Stateflow object descriptions
Include descriptions of Stateflow objects in generated comments
Model Configuration Pane: Code Generation / Comments
Description
Specify whether to insert descriptions of Stateflow® objects into generated code as comments.
Dependencies
This parameter only appears for ERT-based targets.
This parameter requires a Stateflow license.
Settings
on
(default) | off
- 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.
Recommended Settings
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | Noimpact |
Safety precaution | Noimpact |
Programmatic Use
Parameter: SFDataObjDesc |
Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced before R2006a