Main Content

Enable TLC assertion

Produce TLC stack trace

Model Configuration Pane: Code Generation

Description

The Enable TLC assertion parameter instructs the code generator to produce a TLC stack trace when the evaluation of the argument for an assert directive is false.

Settings

off (default) | on
On

Halts the build process if a user-supplied TLC file contains an %assert directive that evaluates to FALSE.

Off

Ignores TLC assertion code during the build process.

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation

Programmatic Use

Parameter: TLCAssert
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2006a