jc_0797: Unconnected transitions / states / connective junctions
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a, b
JMAAB — a, b
MATLAB Versions
All
Rule
Sub ID a
Stateflow Chart (Stateflow) shall not have unconnected transitions.
Not Applicable
There are unconnected transitions.
Sub ID b
Stateflow Chart (Stateflow) shall not have unconnected exclusive (OR) states and connective junctions without a transition source.
Not Applicable
Does not have unconnected exclusive (OR) states or connective junctions without a transition source.
There are unconnected exclusive (OR) states and connective junctions without a transition source.
Rationale
Sub IDs a, b:
Unconnected transitions can result in adverse effects, such as misinterpretation of simulation results or failure to generate code.
Verification
Model Advisor check: Check for unconnected objects in Stateflow Charts (Simulink Check)
Last Changed
R2020a
See Also
Transition Between Operating Modes (Stateflow)
Combine Transitions and Junctions to Create Branching Paths (Stateflow)
Define Exclusive and Parallel Modes by Using State Decomposition (Stateflow)
Transition Between Exclusive States (Stateflow)
Represent Multiple Paths by Using Connective Junctions (Stateflow)
Version History
Introduced in R2020a