jc_0763: Usage of multiple internal transitions
Sub ID Recommendations
NA-MAAB — a1/a2
JMAAB — a1/a2
Sub ID a1
Multiple internal transitions shall not be used in a single state.
Sub ID a2
When multiple internal transitions are used in a single state, they shall be listed from top to bottom in the order of execution.
Sub ID a1:
The number of transition conditions is unclear when multiple internal transitions are used. By limiting the use of internal transitions to a single use, transitions are clearer and readability improves.
Sub ID a1:
Using multiple internal transitions can prevent transition lines from crossing and simplifies state transitions.
Arranging internal transitions in execution order improves readability.
Model Advisor check: Check usage of internal transitions in Stateflow states (Simulink Check)
JMAAB guideline jc_0763, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Overview of Stateflow Objects (Stateflow)
Transition Between Operating Modes (Stateflow)
Types of Chart Execution (Stateflow)