Specify whether to insert MATLAB® source code as comments.
Category: Code Generation > Comments
Default: Off
Inserts MATLAB source code as comments in the generated code. The comment appears after the traceability tag and precedes the associated generated code. For example,
/* '<S2>:1:22' xb1 = x-1; */
xb1 = x;
xb1 = x-1;
in the traceability
comment.Includes the function signature in the function banner.
Suppresses comments and does not include the function signature in the function banner.
Include comments enables this parameter.
Parameter: MATLABSourceComments |
Type: character vector |
Value: 'on' | 'off' |
Default:
'off'
|
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | No impact |
Safety precaution | No recommendation |