| Real-Time Workshop® | ![]() |

| On this page… |
|---|
Real-Time Workshop S-Function Code Generation Options Tab Overview |
Control Real-Time Workshopcode generated for the S-function target (rtwsfcn.tlc).
This tab appears only if you specify the S-function target (rtwsfcn.tlc) System target file.
Real-Time Workshop S-Function Code Generation Options
Create a new model containing the generated Real-Time Workshop S-function block.
Default: on
Creates a new model, separate from the current model, containing the generated Real-Time Workshop S-function block.
Generates code but a new model is not created.
| Parameter: CreateModel |
| Type: string |
| Value: 'on' | 'off' |
| Default: 'on' |
Use the variable value instead of the variable name in generated block mask edit fields for tunable parameters.
Default: off
Uses variable values for tunable parameters instead of the variable name in the generated block mask edit fields.
Uses variable names for tunable parameters in the generated block mask edit fields.
| Parameter: UseParamValues |
| Type: string |
| Value: 'on' | 'off' |
| Default: 'off' |
Include custom source code in the code generated for the Real-Time Workshop S-function.
Default: off
Always include provided custom source code in the code generated for the Real-Time Workshop S-function.
Do not include custom source code in the code generated for the Real-Time Workshop S-function.
| Parameter: AlwaysIncludeCustomSrc |
| Type: string |
| Value: 'on' | 'off' |
| Default: 'off' |
![]() | Real-Time Workshop Pane: RSim Target | Real-Time Workshop Pane: Tornado Target | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |