getEnumeral
Get enumeration member of enumerated data type in Architectural Data section of data dictionary
Since R2023b
Syntax
Description
returns the enumMember = getEnumeral(enumType,enumMemberName)Simulink.dictionary.archdata.Enumeral object with the name
enumMemberName in the enumerated data type
enumType.
returns the enumMember = getEnumeral(enumType,enumMemberIndex)Simulink.dictionary.archdata.Enumeral object with the index
enumMemberIndex in the enumerated data type
enumType.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023b