coder.Type class

Package: coder

Represent set of MATLAB values

Description

Specifies the set of values that the generated code should accept. Use only with the codegen -args option. Do not pass as an input to a generated MEX function.

Construction

Note

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.Type is an abstract class, and you cannot create instances of it directly. You can create coder.Constant, coder.EnumType, coder.FiType, coder.PrimitiveType, coder.StructType, and coder.CellType objects that are derived from this class.

Properties

ClassName

Class of values in this set

Copy Semantics

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

Introduced in R2011a