Main Content

Simulink Block / Stateflow Object Comments

Include Simulink block or Stateflow object comments

Model Configuration Pane: PLC Code Generation / Comments

Description

The Simulink block / Stateflow object comments parameter specifies whether to insert Simulink block and Stateflow object comments.

Dependencies

To use this parameter, enable the Include comments parameter.

Settings

on (default) | off
On

Inserts automatically generated comments that describe block code and objects. The comments precede that code in the generated file.

Off

Suppresses comments.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

Programmatic Use

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

Version History

Introduced in R2010a