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
All
Rule
Sub ID a
When there is no processing within an unconditional transition, a clarifying comment shall be written on the transition label.
Not Applicable
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.
Rationale
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.
Verification
Model Advisor check: Check for comments in unconditional transitions (Simulink Check)
Last Changed
R2020a
See Also
Add Descriptive Comments in a Chart (Stateflow)
Transition Between Operating Modes (Stateflow)
Version History
Introduced in R2020a