Main Content
Unnecessary type conversions
Diagnostic action to take when unnecessary Data Type Conversion block is detected
Model Configuration Pane: Diagnostics / Type Conversion
Description
The Unnecessary type conversions parameter specifies the diagnostic action to take when Simulink® software detects a Data Type Conversion block used where no type conversion is necessary.
Settings
none
(default) | warning
none
Simulink software takes no action.
warning
Simulink software displays a warning.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | warning |
Programmatic Use
Parameter: UnnecessaryDatatypeConvMsg |
Value: 'none' | 'warning' |
Default: 'none' |
Version History
Introduced in R2008a