Main Content

Simulink block comments

Include Simulink block comments

Model Configuration Pane: Code Generation / Comments

Description

Specify whether to insert Simulink® block comments.

Dependencies

Settings

on (default) | off
On

Inserts automatically generated comments that describe a block's code. The comments precede generated code in the generated file.

Off

Suppresses comments.

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precaution

No recommendation

Programmatic Use

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

Version History

Introduced before R2006a