Specify whether to include custom comments for module packaging tool (MPT) signal and
parameter data objects in generated code. MPT data objects are objects of the classes
mpt.Parameter
and mpt.Signal
.
Category: Code Generation > Comments
Default: Off
Inserts comments just above the identifiers for signal and parameter MPT objects in generated code.
Suppresses the generation of custom comments for signal and parameter identifiers.
This parameter only appears for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
This parameter requires that you include the comments in a function defined in a MATLAB® language file or TLC file that you specify with Custom comments function.
Parameter:
EnableCustomComments |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | Noimpact |
Safety precaution | Noimpact |