Main Content

String truncation checking

Description

Select the diagnostic action to take if the string signal is truncated.

Category: Diagnostics

Settings

Default: error

none

Simulink® software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Command-Line Information

Parameter:StringTruncationChecking
Value: 'none' | 'warning' | 'error'
Default: 'error'

Recommended Settings

ApplicationSetting
Debuggingerror
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror