Main Content

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

Introduced in R2020a