Check usage of enumerated values
Guideline: na_0031: Definition of default enumerated value
Identifies the enumeration classes used in the model without a default value specification.
This check requires a Simulink® Check™ license.
This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.
For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:
NA-MAAB — a
JMAAB — a
Results and Recommended Actions
|Enumeration classes in the model do not have a default value specification.
|Make sure that the enumeration classes used in the model have a getDefaultValue method implementation as a static method of the class.
Capabilities and Limitations
Does not run on library models.
Does not allow exclusions of blocks and charts.
Analyzes content of library linked blocks.