db_0132: Transitions in flow charts
Sub ID Recommendations
NA-MAAB — a, b
JMAAB — a, b
Sub ID a
Transition actions shall not be used in flow charts.
Transition actions are used.
Sub ID b
In a flow chart, the condition shall be positioned on a horizontal transition line and the condition action shall be positioned on a vertical transition line.
Diagonal transition lines in loop constructs.
The condition is positioned on a horizontal transition line and the condition action is on a vertical transition line.
The condition is positioned on a vertical transition line and the condition action is on a horizontal transition line.
Sub ID a:
The transition action in a flow chart is not executed.
Sub ID b:
Consistent positioning of conditions and condition actions improves readability.
Model Advisor check: Check transitions in Stateflow Flow charts (Simulink Check)
JMAAB guideline db_0132, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Transition Between Operating Modes (Stateflow)