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 configure the following input parameters to customize the check action:
Input Parameter | Value | Default Value |
---|---|---|
Minimum length | Minimum length for the folder path. | 1 |
Maximum length | Maximum length for the folder path. | 63 |
Note
The MATLAB limit for the number of characters you can use in Stateflow data names is 2048.
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.
Does not support Truth Table (Stateflow) blocks and Stateflow transition tables.