Main Content

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

Command-Line Information

Parameter: StateflowObjectComments
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics