Check length of Stateflow data name
Check ID:
mathworks.jmaab.jc_0796
Guideline: jc_0796: Length restriction for Stateflow® data names
Description
Checks if the length of Stateflow data names is within the limit of 63 characters.
This check requires a Simulink® Check™ license.
Check Parameterization
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
jc_0796
.From the Standards drop-down, select
Custom
.Enter the desired maximum length to set in the Maximum length field.
Click Apply and save the configuration.
Results and Recommended Actions
Condition | Recommended Action |
---|---|
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
graphical
.Allows exclusions of charts.
Analyzes content of library linked blocks.