Main Content

Use the same custom code settings as Simulation Target

Use custom code settings from the Simulation Target > Custom Code pane

Model Configuration Pane: Code Generation / Custom Code

Description

Specify whether to use the same custom code settings as those in the Simulation Target > Custom Code pane.

Settings

off (default) | on
On

Enables using the same custom code settings as those in the Simulation Target > Custom Code pane.

Off

Disables using the same custom code settings as those in the Simulation Target > Custom Code pane.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

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

Version History

Introduced in R2008b