Include comments
Include comments in generated code
Model Configuration Pane: Code Generation / Comments
Description
Specify which comments are in generated files.
Dependencies
This parameter enables:
Settings
on (default) | off- On
Places comments in the generated files based on the selections in the Auto generated comments pane.
- Off
Omits comments from the generated files.
Note
This parameter does not apply to copyright notice comments in the generated code.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | On |
| Traceability | On |
| Efficiency | No impact |
| Safety precaution | No recommendation |
Programmatic Use
Parameter: GenerateComments |
| Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced before R2006a