jc_0723: Prohibited direct transition from external state to child state
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — No recommendations
JMAAB — a
MATLAB Versions
All
Rule
Sub ID a
Transitions from one state directly to an external child state shall be prohibited.
Not Applicable
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.
Rationale
Sub ID a:
Direct transitions between child states can complicate the states and decrease readability.
Verification
Model Advisor check: Check usage of transitions to external states (Simulink Check)
Last Changed
R2020a
See Also
Transition Between Operating Modes (Stateflow)
Version History
Introduced in R2020a