Simulink.defineIntEnumType
Define enumerated data type
Syntax
Description
Simulink.defineIntEnumType(
defines an enumeration named ClassName,"Members",{{EnumName1,EnumIntValue1},...,{EnumNameN,EnumIntValueN}})ClassName where each member has a name and
numeric value specified by EnumName and
EnumIntValue respectively.
Simulink.defineIntEnumType(
defines an enumeration named ClassName,"Members",{{EnumName1,EnumIntValue1,"Description",EnumDescription1},...,{EnumNameN, EnumIntValueN,"Description",EnumDescriptionN}})ClassName where each member has a name,
numeric value, as in the previous syntax, and optionally includes a description specified by
EnumDescription.
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 Name=Value)DataScope to Imported.