NA-MAAB — No recommendations
JMAAB — a
All
Parentheses in condition actions shall use only curly brackets on a single line.
A new line shall start before and after curly brackets.
Not Applicable
Note: The example is for a flow chart, but the rule also applies to state transitions.
Sub ID a:
Clarifying condition actions improves readability.
Model Advisor check: Check usage of parentheses in Stateflow transitions (Simulink Check)
R2020a
JMAAB guideline jc_0752, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Label Transitions (Stateflow)