Main Content

String truncation checking

Diagnostic action to take if string signal value is truncated

Model Configuration Pane: Diagnostics / Data Validity

Description

The String truncation checking parameter specifies the diagnostic action to take if the value of a string signal is truncated.

Settings

error (default) | warning | none
error

The software issues an error and terminates the simulation if the value of a string signal is truncated.

warning

The software issues a warning if the value of a string signal is truncated.

none

The software does not issue a diagnostic if the value of a string signal is truncated.

Recommended Settings

ApplicationSetting
Debuggingerror
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

Parameter:StringTruncationChecking
Type: string | character vector
Value: "none" | "warning" | "error"
Default: "error"

Version History

Introduced in R2018a