Main Content

jc_0774: Comments for through transition

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

When there is no processing within an unconditional transition, a clarifying comment shall be written on the transition label.

Custom Parameter

Not Applicable

Example — Correct

The clarifying comment /*do nothing*/ is provided.

Example — Incorrect

A clarifying comment is not provided on the condition path, so it is difficult to determine whether the lack of action is intentional.


Sub ID a:

  • Clarifies that the processing is deliberately excluded.

  • The comment that is added to a transition label is also included in the generated code.


Model Advisor check: Check for comments in unconditional transitions (Simulink Check)

Last Changed


Version History

Introduced in R2020a