Check uniqueness of State names
Guideline: jc_0730: Unique state name in Stateflow® blocks
Stateflow state names must be unique in charts, with the exception of atomic subcharts. Atomic subcharts are treated as different container so they can share State names with other states outside of the subchart.
Stateflow states include the following.
This check requires a Simulink® Check™ and Stateflow 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
|In a Stateflow chart, two or more Stateflow states have the same name.
|Rename the Stateflow states so that there are no identical names in the Stateflow chart.
Capabilities and Limitations
Runs on library models.
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
Allows exclusions of charts.