createEnumeration
Create Simulink enumeration data type definition from imported AUTOSAR data elements
Syntax
Description
createEnumeration(
creates a Simulink® enumeration type from an AUTOSAR application data type. The function can be
used to work with AUTOSAR elements that you imported by using arProps
,name
,applicationDataTypePath
)updateAUTOSARProperties
.
createEnumeration(
creates a Simulink enumeration type from an AUTOSAR implementation data type and
CompuMethod.arProps
,name
,compuMethodPath
,implementationDataTypePath
)
createEnumeration(
creates a family of Simulink enumeration types from a arProps
,compuMethodPath
)BITFIELD_TEXTTABLE
CompuMethod
with path COMPUMETHODPATH
. The family consists of a mask enum and one
enum per BITFIELD group encountered in the BITFIELD_TEXTTABLE definition.
Examples
Input Arguments
Version History
Introduced in R2019a