Real-Time Workshop Pane: Real-Time Workshop S-Function Code Generation Options

Real-Time Workshop S-Function Code Generation Options Tab Overview

Control Real-Time Workshopcode generated for the S-function target (rtwsfcn.tlc).

Configuration

This tab appears only if you specify the S-function target (rtwsfcn.tlc) System target file.

See Also

Real-Time Workshop S-Function Code Generation Options

S-Function Target

Create new model

Create a new model containing the generated Real-Time Workshop S-function block.

Settings

Default: on

On

Creates a new model, separate from the current model, containing the generated Real-Time Workshop S-function block.

Off

Generates code but a new model is not created.

Command-Line Information

Parameter: CreateModel
Type: string
Value: 'on' | 'off'
Default: 'on'

See Also

S-Function Target

Use value for tunable parameters

Use the variable value instead of the variable name in generated block mask edit fields for tunable parameters.

Settings

Default: off

On

Uses variable values for tunable parameters instead of the variable name in the generated block mask edit fields.

Off

Uses variable names for tunable parameters in the generated block mask edit fields.

Command-Line Information

Parameter: UseParamValues
Type: string
Value: 'on' | 'off'
Default: 'off'

See Also

S-Function Target

Include custom source code

Include custom source code in the code generated for the Real-Time Workshop S-function.

Settings

Default: off

On

Always include provided custom source code in the code generated for the Real-Time Workshop S-function.

Off

Do not include custom source code in the code generated for the Real-Time Workshop S-function.

Command-Line Information

Parameter: AlwaysIncludeCustomSrc
Type: string
Value: 'on' | 'off'
Default: 'off'

See Also

S-Function Target

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS