Unused data, events, messages, and functions
Description
Select the diagnostic action to take for detection of unused data, events, messages, and functions in a chart. Removing unused data, events, messages, and functions can minimize the size of your model.
Category: Diagnostics
Settings
Default: warning
none
No warning or error appears.
warning
A warning appears, with a link to delete the unused data, event, or message in your chart.
error
An error appears and stops the simulation.
Tip
This diagnostic does not detect input events or MATLAB® function input and output data.
Command-Line Information
Parameter: SFUnusedDataAndEventsDiag |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Recommended Settings
Application | Setting |
---|---|
Debugging | warning |
Traceability | No impact |
Efficiency | No impact
(for simulation)none (for
production code generation) |
Safety precaution | warning |