MATLAB Functions that Work on varray Directly - MATLAB Functions that Work on varray Directly - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English

The following MATLAB functions are overloaded and work on varray arguments without an explicit cast:

Function Notes
size, length, numel —
reshape Returns a varray of the same type.
cat, horzcat, vertcat All inputs must share type.
transpose (.'), ctranspose (') Restricted to row/column vectors for fi/cfi.
real, imag —
isreal, isequal —
max, min Not supported for mx4/mx6/mx9, int4/uint4. MATLAB itself does not support them on complex integer types.
all, any —
num2str —
cast, typecast Refer to Casting between varray Types for more information.

For anything else, cast to a native MATLAB type first.