Specify whether to insert descriptions of Stateflow® objects into generated code as comments.
Category: Code Generation > Comments
Default: 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.
Suppresses the generation of comments for Stateflow objects.
This parameter only appears for ERT-based targets.
This parameter requires a Stateflow license.
Parameter:
SFDataObjDesc |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | Noimpact |
Safety precaution | Noimpact |