Main Content

Check for Stateflow transition appearance

Check ID: mathworks.jmaab_v6.db_0129

Guideline: db_0129: Stateflow® transition appearance

Description

Checks for Stateflow transitions that visually overlap other Stateflow objects.

This check requires a Simulink® Check™ and Stateflow license.

Check Parameterization

This check contains sub-checks that correspond to 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

Select the input parameter Check for Self Transitions to flag self transitions.

  1. Open the Model Configuration Editor and search for check ID db_0129.

  2. Select the check box Check for Self Transitions.

  3. Click Apply and save the configuration.

Results and Recommended Actions

Guideline Sub IDsConditionRecommended Action
db_0129_a: Check orientation of transition linesTransitions are not vertical or horizontal and/or diagonal for flow chart loops.Consider remodeling using either horizontal or vertical transitions only and diagonal transitions for flow chart loops.
db_0129_b: Check for unnecessary connective junctionsOne or more charts use unnecessary connective junctions.Consider avoiding unnecessary connective junctions.

Capabilities and Limitations

  • Does not flag transitions overlapped by state labels exceeding the boundary of the state.

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