jc_0700: Unused data in Stateflow block
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
Sub ID a
Configuration parameter Unused data, events, messages, and
functions shall be set to
Error to prevent unused Stateflow® data, events, and messages in the Stateflow block.
Unused data is defined.
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.
Model Advisor check: Check for unused data in Stateflow Charts (Simulink Check)
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)
Manage Symbols in the Stateflow Editor (Stateflow)
Introduced in R2020a