jc_0732: Distinction between state names, data names, and event names
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLAB Versions
All
Rule
Sub ID a
An identical name shall not be used for states, data (inputs and outputs, local data, constants, parameters, data store memory), or event names in a single Stateflow® Chart (Stateflow).
Custom Parameter
Not Applicable
Example — Correct
Example — Incorrect
Names are duplicated.
Rationale
Sub ID a:
Using unique names prevent misunderstanding.
Verification
Model Advisor check: Check uniqueness of Stateflow State and Data names (Simulink Check)
Last Changed
R2020a
See Also
JMAAB guideline jc_0732, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Version History
Introduced in R2020a