jc_0774: Comments for through transition
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
Sub ID a
When there is no processing within an unconditional transition, a clarifying comment shall be written on the transition label.
The clarifying comment
/*do nothing*/ is provided.
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)
Introduced in R2020a