Simulink block comments
Include Simulink block comments
Model Configuration Pane: Code Generation / Comments
Description
Specify whether to insert Simulink® block comments.
Dependencies
Include comments enables this parameter.
This parameter enables Trace to model using (Embedded Coder).
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
| Application | Setting |
|---|---|
| Debugging | On |
| Traceability | On |
| Efficiency | No impact |
| Safety precaution | No recommendation |
Programmatic Use
Parameter: SimulinkBlockComments |
| Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced before R2006a