Main Content

Simulink data object descriptions

Description

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

This parameter does not affect Simulink.LookupTable or Simulink.Breakpoint objects that you configure to appear in the generated code as a structure (for example, by storing all of the table and breakpoint data in a single Simulink.LookupTable object).

Category: Code Generation > Comments

Settings

Default: On

On

Inserts contents of the Description field in the Model Explorer Object Properties pane for each Simulink data object (signal, parameter, and bus objects) in the generated code as comments.

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 data object property descriptions as comments in the generated code.

Dependency

  • This parameter only appears for ERT-based targets.

  • This parameter requires an Embedded Coder® license when generating code.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNoimpact
Safety precautionNoimpact

Related Topics