Main Content

Show Eliminated Blocks

Include eliminated block comments

Model Configuration Pane: PLC Code Generation / Comments

Description

The Show eliminated blocks parameter specifies whether to insert eliminated block comments.

Dependencies

T enable this parameter, enable Include comments.

Settings

off (default) | on
On

Inserts statements in the generated code from blocks eliminated as the result of optimizations (such as parameter inlining).

Off

Suppresses statements.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

Programmatic Use

Parameter: PLC_RTWShowEliminatedStatement
Type: string
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2010a