Main Content

Check usage of transition conditions in Stateflow transitions

Check ID: mathworks.jmaab.jc_0772

Guideline: jc_0772: Execution order and transition conditions of transition lines


Identifies the transitions sourced from a state and unconditional Stateflow® transitions with higher priority than conditional transitions.

This check requires a Simulink® Check™ and Stateflow 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

Results and Recommended Actions

ConditionRecommended Action
Stateflow transitions found with higher priority than conditional transitions.Change the execution order of the transitions or add an execution condition.

Capabilities and Limitations

  • Runs on library models.

  • 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.

  • Allows exclusions of blocks and charts.