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

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionwarning

Programmatic Use

Parameter: UnnecessaryDatatypeConvMsg
Value: 'none' | 'warning'
Default: 'none'

Version History

Introduced in R2008a