jc_0491: Reuse of Stateflow data
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
Sub ID a
A variable shall not have multiple meanings (usages) in a single Stateflow® Chart (Stateflow).
Variable does not have multiple usages.
multiple usages in the Stateflow
Sub ID a:
Variables can be misinterpreted when the variable name is different than the meaning of the numerical value that is assigned to the variable.
Model Advisor check: Adherence to this modeling guideline cannot be verified by using a Model Advisor check.
JMAAB guideline jc_0491, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Construct and Run a Stateflow Chart (Stateflow)
Introduced in R2020a