Main Content
Suppress double to single detection
Suppress the double to single parameter precision loss detection
Since R2024a
Model Configuration Pane: Diagnostics / Data Validity
Description
The Suppress double to single detection parameter allows you to suppress parameter precision loss diagnostic messages that result from double precision to single precision casts.
Dependencies
To enable this parameter, set the Detect
precision loss parameter to warning
or
error
.
Settings
off
(default) | on
off
Report parameter precision loss diagnostics for double to single casts.
on
Suppress parameter precision loss diagnostics for double to single casts.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | off |
Programmatic Use
Parameter:
ParamSuppressDoubleToSinglePrecisionLossMsg |
Type: string | character vector |
Values:
'off' | 'on' |
Default:
'off' |
Version History
Introduced in R2024a