MATLAB user comments
Description
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
Settings
Default: Off
On
Inserts MATLAB user comments as comments.
Off
Suppresses comments.
Dependency
This parameter only appears for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
Include comments enables this parameter.
Command-Line Information
Parameter:
MATLABFcnDesc |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |
Recommended Settings
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | Noimpact |
Safety precaution | No impact |