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 | noneerrorThe software issues an error and terminates the simulation if the value of a string signal is truncated.
warningThe software issues a warning if the value of a string signal is truncated.
noneThe software does not issue a diagnostic if the value of a string signal is truncated.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | error |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | error |
Programmatic Use
Parameter:StringTruncationChecking |
| Type: string | character vector |
Value: "none" | "warning" | "error" |
Default: "error" |
Version History
Introduced in R2018a