jc_0791: Duplicate data name definitions
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a, b, c
JMAAB — a, b, c
MATLAB Versions
All
Rule
Sub ID a
Data name definitions shall not be duplicated in the base workspace and model workspace.
Not Applicable
Sub ID b
Data names shall not be duplicated in the base workspace and data dictionary (sldd).
Types of data dictionary
Sub ID c
Data name definitions shall not be duplicated in the model workspace and data dictionary (sldd).
Types of data dictionary
Rationale
Sub IDs a, b, c:
Duplicated data name can cause unintended model behavior.
Verification
Model Advisor check: Check duplication of Simulink data names (Simulink Check)
Last Changed
R2020a
See Also
Set Data Properties (Stateflow)
Add Stateflow Data (Stateflow)
Version History
Introduced in R2020a