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
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.
This diagnostic does not detect these types of data and events:
Machine-parented data
Inputs and outputs of MATLAB® functions
Input events
Parameter: SFUnusedDataAndEventsDiag |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Application | Setting |
---|---|
Debugging | warning |
Traceability | No impact |
Efficiency | No impact
(for simulation)none (for
production code generation) |
Safety precaution | warning |