Main Content

jc_0721: Usage of parallel states

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Substates of parallel states shall not be parallel states.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Substates of parallel states are parallel states.

Rationale

Sub ID a:

  • Behavior is not affected by nesting parallel states in a parent superstate.

  • Hierarchization of the parallel state decreases readability.

Verification

Model Advisor check: Check usage of parallel states (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a