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
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: RTWUseSimCustomCode |
Type: character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2008b