Specify whether to insert Stateflow® object comments.
Category: Code Generation > Comments
Default: Off
Inserts automatically generated comments that contain Stateflow object IDs or MATLAB® code line locations. The comments precede the generated code in the generated file. For example,
/* Entry 'First': '<S2>:2' */
rtY.Out1 = 1;
'<S2>:2'
is a
hyperlinked traceability tag that facilitates tracing of generated code
to corresponding Stateflow element.Suppresses comments.
Include comments enables this parameter.
This parameter enables Trace to model using (Embedded Coder).
Parameter:
StateflowObjectComments |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off'
|
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | No impact |
Safety precaution |
No recommendation |