jc_0700: Unused data in Stateflow block
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLAB Versions
All
Rule
Sub ID a
Configuration parameter Unused data, events, messages, and
functions shall be set to Warning
or
Error
to prevent unused Stateflow® data, events, and messages in the Stateflow block.
Not Applicable
Unused data is defined.
Rationale
Sub ID a:
Unused data and events in the Stateflow block can affect maintainability and reusability.
Affects code as a declarative statement concerning unused data is inserted into the generated code.
Verification
Model Advisor check: Check for unused data in Stateflow Charts (Simulink Check)
Last Changed
R2020a
See Also
JMAAB guideline jc_0700, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Data, Events, and Messages (Stateflow)
View Differences Between Stateflow Messages, Events, and Data (Stateflow)
Manage Symbols in the Stateflow Editor (Stateflow)
Version History
Introduced in R2020a