Main Content

coder.Type class

Package: coder

Represent set of MATLAB values acceptable for input specification

Description

Objects of coder.Type specify the values that the generated code accepts. Use objects of this class only with the -args option of the codegen command. Do not pass as an input to a generated MEX function.

Creation

Note

You can 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. To create objects of this class, use the coder.typeof and coder.newtype functions.

These classes are the instances of the coder.Type class.

Properties

expand all

Value class name, returned as an object of one of these classes.

  • coder.CellType

  • coder.ClassType

  • coder.Constant

  • coder.EnumType

  • coder.FiType

  • coder.OutputType

  • coder.PrimitiveType

  • coder.StructType

Version History

Introduced in R2011a