Main Content

Bits of error threshold

Set a threshold of one bit, half bit, or zero bits for parameter overflow detection

Since R2024a

Model Configuration Pane: Diagnostics / Data Validity

Description

The Bits of error threshold parameter specifies a threshold of one bit, half bit, or zero bits for diagnostic reporting of parameter overflows.

Dependencies

To enable this parameter, set the Detect overflow parameter to warning or error.

Settings

One bit (default) | Half bit | Zero bits
One bit

Parameter overflow diagnostics are reported when the overflow exceeds the representable range by one bit or more.

Half bit

Parameter overflow diagnostics are reported when the overflow exceeds the representable range by half bit or more.

Zero bits

Parameter overflow diagnostics are reported when the overflow exceeds the representable range by zero bits or more.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionZero bits

Programmatic Use

Parameter: ParamOverflowErrorThreshold
Type: string | character vector
Values: 'OneBit' | 'HalfBit' | 'ZeroBit'
Default: 'OneBit'

Version History

Introduced in R2024a