Main Content

Stateflow object descriptions

Description

Specify whether to insert descriptions of Stateflow® objects into generated code as comments.

Category: Code Generation > Comments

Settings

Default: On

On

Inserts descriptions of Stateflow states, charts, transitions, and graphical functions into generated code as comments. The descriptions come from the Description field in Object Properties pane in the Model Explorer for these Stateflow objects. The comments appear just above the code generated for each object.

For information on code generator treatment of strings that are unrepresented in the character set encoding for the model, see Internationalization and Code Generation.

Off

Suppresses the generation of comments for Stateflow objects.

Dependency

  • This parameter only appears for ERT-based targets.

  • This parameter requires a Stateflow license.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNoimpact
Safety precautionNoimpact

Related Topics