Check length of Stateflow data name
Guideline: jc_0796: Length restriction for Stateflow® data names
Checks if the length of Stateflow data names are within the limit of 63 characters.
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
You can customize the maximum length threshold by using the input parameter Maximum length from the Model Advisor Configuration Editor.
Open the Model Configuration Editor and search for check ID
From the Standards drop-down, select
Enter the desired maximum length to set in the Maximum length field.
Click Apply and save the configuration.
Results and Recommended Actions
|Length of Stateflow data names are not within the limit of 63 characters.||Consider using a different name for each Stateflow data name.|
Capabilities and Limitations
Runs on library models.
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
Allows exclusions of charts.
Analyzes content of library linked blocks.