NA-MAAB — No recommendations
JMAAB — a
All
Variables that are used in a state transition condition shall not use state action
du
to perform an update.
Not Applicable
State action du
is used to perform an update.
Sub ID a:
The execution order of the transition condition and implement of
during
can be difficult to understand, which
increases the risk of errors.
Model Advisor check: Check updates to variables used in state transition conditions (Simulink Check)
R2020a
JMAAB guideline jc_0741, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Transitions (Stateflow)
State Action Types (Stateflow)
Execution of a Stateflow Chart (Stateflow)