Main Content

Check for unconnected objects in Stateflow Charts

Check ID: mathworks.jmaab.jc_0797

Guideline: jc_0797: Unconnected transitions / states / connective junctions

Description

Checks for unconnected states, junctions and transitions in Stateflow® Charts.

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 — a, b

  • JMAAB — a, b

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
jc_0797_a: Check unconnected transitions.One or more transitions in the chart are unconnected.Consider remodeling to connect the dangling transitions.
jc_0797_b: Check unconnected states and junctions,One or more states and junctions are unconnected.Consider remodeling to connect the unconnected States and Junctions.

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.