jc_0751: Backtracking prevention in state transition
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLAB Versions
All
Rule
Sub ID a
Connective junctions shall not be used to separate complex conditions.
Not Applicable
Connective junctions are not used to separate complex conditions.
Connective junctions are used to separate complex conditions.
Rationale
Sub ID a:
Deviation from the rule can cause backtracking, which results in unintended behavior.
Verification
Model Advisor check: Check for unexpected backtracking in state transitions (Simulink Check)
Last Changed
R2020a
See Also
Transition Between Operating Modes (Stateflow)
Combine Transitions and Junctions to Create Branching Paths (Stateflow)
Evaluate Transitions (Stateflow)
Version History
Introduced in R2020a