Main Content

Check usage of internal transitions in Stateflow states

Check ID: mathworks.jmaab.jc_0763

Guideline: jc_0763: Usage of multiple internal transitions

Description

Identifies the Stateflow states that uses multiple internal transitions.

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

  • JMAAB — a1/a2

Note

Sub-check jc_0763_a1 is selected by default.

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
jc_0763_a1: Check for multiple internal transitions.One or more Stateflow states have multiple internal transitions.Remodel to avoid the use of multiple internal transitions.
jc_0763_a2: Check order of multiple internal transitions.One or more Stateflow states have multiple internal transitions not placed in order of execution.Consider placing internal transitions from top to bottom in the order of execution.

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.