Main Content

jc_0734: Number of state action types

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions



Sub ID a

State action types shall not be used more than one time in a Stateflow state.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect


Sub ID a:

  • The execution order will differ depending on the order in which they are described.

  • Execution order can be difficult to understand when the action type is described multiple times.


Model Advisor check: Check repetition of action types (Simulink Check)

Last Changed


Version History

Introduced in R2020a