Main Content

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



Sub ID a

Connective junctions shall not be used to separate complex conditions.

Custom Parameter

Not Applicable

Example — Correct

Connective junctions are not used to separate complex conditions.

Example — Incorrect

Connective junctions are used to separate complex conditions.


Sub ID a:

  • Deviation from the rule can cause backtracking, which results in unintended behavior.


Model Advisor check: Check for unexpected backtracking in state transitions (Simulink Check)

Last Changed


Version History

Introduced in R2020a