addEnumType
Add enumerated type to Architectural Data section of Simulink data dictionary
Since R2023b
Syntax
Description
adds a Simulink® enumeration enumeratedDataType
= addEnumType(archData
,enumeratedDataTypeName
)enumeratedDataTypeName
to
archData
, the Architectural Data section of a data dictionary.
creates
an enumerated data type with the same properties as the enumeratedDataType
= addEnumType(archData
,enumeratedDataTypeName
,EnumTypeDefinition=enumDefn
)Simulink.data.dictionary.EnumTypeDefinition
object specified by
enumDefn
and stores it in the Architectural Data section specified by
archData
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023b