Main Content

coder.ArrayType class

Package: coder
Superclasses: coder.Type

Represent set of MATLAB arrays


Specifies the set of arrays that the generated code accepts. Use only with the fiaccel -args option. Do not pass as an input to a generated MEX function.



You can also create and edit coder.Type objects interactively by using the Coder Type Editor. See Create and Edit Input Types by Using the Coder Type Editor.

coder.ArrayType is an abstract class. You cannot create instances of it directly. You can create coder.EnumType, coder.FiType, coder.PrimitiveType, and coder.StructType objects that derive from this class.



Class of values in this set


The upper-bound size of arrays in this set.


A vector specifying whether each dimension of the array is fixed or variable size. If a vector element is true, the corresponding dimension is variable size.

Copy Semantics

Value. To learn how value classes affect copy operations, see Copying Objects.

Version History

Introduced in R2011a