jc_0723: Prohibited direct transition from external state to child state
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — No recommendations
JMAAB — a
Sub ID a
Transitions from one state directly to an external child state shall be prohibited.
Transition from parent state to parent state.
Transition from child state to another parent state.
Direct transition from an external state to a child state in a different state.
Direct transition from an external child state to a child state in a different state.
Sub ID a:
Direct transitions between child states can complicate the states and decrease readability.
Model Advisor check: Check usage of transitions to external states (Simulink Check)
Transition Between Operating Modes (Stateflow)
Introduced in R2020a