Stateflow object comments
Description
Specify whether to insert Stateflow® object comments.
Category: Code Generation > Comments
Settings
Default: Off
On
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.Off
Suppresses comments.
Dependency
Include comments enables this parameter.
This parameter enables Trace to model using (Embedded Coder).
Command-Line Information
Parameter:
StateflowObjectComments |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off'
|
Recommended Settings
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | No impact |
Safety precaution |
No recommendation |