coder.ArrayType - Represent set of MATLAB arrays acceptable for input specification - MATLAB (original) (raw)

Main Content

Namespace: coder
Superclasses: coder.Type

Represent set of MATLAB arrays acceptable for input specification

Description

Objects of the coder.ArrayType class specify array types that the generated code accepts. Use objects of this class only with the -args option of thecodegen function. Do not pass as an input to a generated MEX function.

Creation

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

Properties

expand all

ClassName — Value class name

coder.EnumType | coder.FiType | coder.PrimitiveType | coder.StructType

Value class name, specified as one of these class object names.

SizeVector — Upper bound on array size

positive integer

Upper bound on array size, specified as a positive integer.

VariableDims — Option to specify variable-size

1 | 0

Option to specify whether each dimension of the array has a variable size specified as a boolean vector. A value of 1 indicates that the dimension has variable-size. A value of 0 indicates that the dimension has fixed-size

Version History

Introduced in R2011a