Specify whether to include MATLAB® user comments including both function description comments and other user comments from MATLAB code as comments in the generated code.
Category: Code Generation > Comments
Default: Off
Inserts MATLAB user comments as comments.
Suppresses comments.
This parameter only appears for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
Include comments enables this parameter.
Parameter:
MATLABFcnDesc |
| Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |
| Application | Setting |
|---|---|
| Debugging | On |
| Traceability | On |
| Efficiency | Noimpact |
| Safety precaution | No impact |