Simulink.defineIntEnumType
Define enumerated data type
Syntax
Description
Simulink.defineIntEnumType(
defines an enumeration named ClassName,CellOfEnums,IntValues)ClassName with enumeration values
specified with CellOfEnums and underlying numeric values specified by
IntValues.
Simulink.defineIntEnumType(
specifies options using one or more name-value arguments in addition to the input arguments
in the previous syntax. For example, to import a data type definition from an external
header file, set ClassName,CellOfEnums,IntValues,Name=Value)DataScope to Imported.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2010b