Main Content

jc_0721: Usage of parallel states

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

See Also

Introduced in R2020a