Check scope of data in parallel states
Guideline: jc_0722: Local data definition in parallel states
The scope of local variables must be set as restricted to one parallel state unless that same data is required by two or more parallel states.
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
|The scope of Stateflow data (local variables) is not restricted to a parallel state when the same data is not required by multiple parallel states.||Restrict the scope of Stateflow data (local variables) to only one parallel state.|
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.