Check order of state action types
Check ID:
mathworks.jmaab.jc_0733
Guideline: jc_0733: Order of state action types
Description
Identifies state actions that are out of order in Stateflow® states.
This check requires a Simulink® Check™ license.
Check Parameterization
This check contains sub-checks that correspond to the sub IDs specified in the MAB and JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.
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, b
JMAAB — a, b
Results and Recommended Actions
Guideline Sub ID | Condition | Recommended Action |
---|---|---|
jc_0733_a: Check basic state action types. | One or more Stateflow states have basic state action types written out of order. | Consider ordering the state actions in the order of entry (en), during (du), and exit (ex). |
jc_0733_b: Check combined state action types. | One or more Stateflow states have combined state action types written out of order. | Consider ordering the state actions in the order of entry (en), during (du), and exit (ex). |
Capabilities and Limitations
Runs on library models.
Supports exclusions of charts.
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
on
.Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
graphical
.