Main Content

Check condition actions and transition actions in Stateflow

Check ID: mathworks.jmaab_v6.jc_0753

Guideline: jc_0753: Condition actions and transition actions in Stateflow®

Description

Checks if the use of condition actions and transition actions are uniform within the same chart.

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

Note

Subchecks jc_0753_a and jc_0753_b are selected by default.

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
jc_0753_a: Check transition actions in Stateflow charts.The following Stateflow charts use transition actions.Do not use transition actions in Stateflow charts.
jc_0753_b: Check usage of condition actions and transition actions within same Stateflow chart.Condition actions and transition actions are mixed within the same chart.Use of condition actions or transition actions must be uniform within the same chart.

Capabilities and Limitations

  • Runs on library models.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to graphical.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Allows exclusions of blocks and charts.