Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

模块特定的参数

要编写用于创建和修改模型的脚本,可以使用 get_paramset_param 函数来查询和修改模块或图的属性和参数。使用表可确定模块对话框中的参数或属性的编程名称。

模块和模型的编程参数

用于描述模型的编程参数为模型参数。用于描述模块的参数为模块参数。所有 Simulink® 模块通用的参数为通用模块参数(请参阅通用模块属性)。许多模块还具有唯一的模块特定参数。封装模块可以具有封装参数(请参阅封装参数)。

模型和模块属性还包括回调,回调是发生特定模型或模块事件时执行的命令。这些事件包括打开模型、仿真模型、复制模块、打开模块等。请参阅模型、模块和端口回调

提示

对于接受数组值的模块参数,数组中的元素数量不能超过 int_T 可表示的数量。此限制对仿真和 Simulink Coder™ 代码生成均适用。

参数编辑字段最多可容纳 49,000 个字符。

模块特定参数和编程等同项

下列各表列出了 Simulink 模块的模块特定参数。模块类型显示在模块名称后面的括号中。有些 Simulink 模块可用作封装子系统使用。表中通过在模块类型后面添加“封装子系统”的说明来表示封装模块。

BlockType 参数(请参阅通用模块属性)的值表示未封装模块的类型。MaskType 参数(请参阅封装参数)的值表示封装模块的类型。

对话框提示列指示了模块对话框中为该参数显示的提示文本。列显示了所需的值类型(标量、向量、变量)、可能的值(以垂直线分隔)和默认值(括在花括号中)。

Continuous 库模块参数

模块(类型)/参数对话框提示

Derivative (Derivative)

CoefficientInTFapproximation

Coefficient c in the transfer function approximation s/(c*s+1) used for linearization

{'inf'}

Integrator (Integrator)

ExternalReset

External reset

{'none'} | 'rising' | 'falling' | 'either' | 'level' | 'level hold'

InitialConditionSource

Initial condition source

{'internal'} | 'external'

InitialCondition

Initial condition

标量或向量 - {'0'}

LimitOutput

Limit output

{'off'} | 'on'

UpperSaturationLimit

Upper saturation limit

标量或向量 - {'inf'}

LowerSaturationLimit

Lower saturation limit

标量或向量 - {'-inf'}

ShowSaturationPort

Show saturation port

{'off'} | 'on'

ShowStatePort

Show state port

{'off'} | 'on'

AbsoluteTolerance

Absolute tolerance

字符向量、标量或向量 - {'auto'} | {'–1'} | 任何实数标量或向量

IgnoreLimit

Ignore limit and reset when linearizing

{'off'} | 'on'

ZeroCross

Enable zero–crossing detection

'off' | {'on'}

ContinuousStateAttributes

State Name

{''} | 用户定义

WrapState

Wrap state

{'off'} | 'on'

WrappedStateUpperValue

Upper value of wrapped state

标量或向量 - {'pi'}

WrappedStateLowerValue

Lower value of wrapped state

标量或向量 - {'-pi'}

Second-Order Integrator (SecondOrderIntegrator)

ICSourceX

Initial condition source x

{'internal'} | 'external'

ICX

Initial condition x

标量或向量 - {'0'}

LimitX

Limit x

{'off'} | 'on'

UpperLimitX

Upper limit x

标量或向量 - {'inf'}

LowerLimitX

Lower limit x

标量或向量 - {'-inf'}

WrapStateX

Enable wrapping of x

{'off'} | 'on'

WrappedUpperValueX

Upper value for wrapping x

标量或向量 - {'pi'}

WrappedLowerValueX

Lower value for wrapping x

标量或向量 - {'-pi'}

AbsoluteToleranceX

Absolute tolerance x

字符向量、标量或向量 - {'auto'} | {'–1'} | 任何实数标量或向量

StateNameX

State name x

{} | 用户定义

ICSourceDXDT

Initial condition source dx/dt

{'internal'} | 'external'

ICDXDT

Initial condition dx/dt

标量或向量 - {'0'}

LimitDXDT

Limit dx/dt

{'off'} | 'on'

UpperLimitDXDT

Upper limit dx/dt

标量或向量 - {'inf'}

LowerLimitDXDT

Lower limit dx/dt

标量或向量 - {'-inf'}

AbsoluteToleranceDXDT

Absolute tolerance dx/dt

字符向量、标量或向量 - {'auto'} | {'–1'} | 任何实数标量或向量

StateNameDXDT

State name dx/dt

{} | 用户定义

ExternalReset

External reset

{'none'} | 'rising' | 'falling' | 'either'

ZeroCross

Enable zero-crossing detection

{'on'} | 'off'

ReinitDXDTwhenXreachesSaturation

Reinitialize dx/dt when x reaches saturation

{'off'} | 'on'

IgnoreStateLimitsAndResetForLinearization

Ignore state limits and the reset for linearization

{'off'} | 'on'

ShowOutput

Show output

{'both'} | 'x' | 'dxdt'

State-Space (StateSpace)

A

A

矩阵 - {'1'}

B

B

矩阵 - {'1'}

C

C

矩阵 - {'1'}

D

D

矩阵 - {'1'}

InitialCondition

Initial conditions

向量 - {'0'}

AbsoluteTolerance

Absolute tolerance

字符向量、标量或向量 - {'auto'} | {'–1'} | 任何实数标量或向量

ContinuousStateAttributes

State Name

{''} | 用户定义

Transfer Fcn (TransferFcn)

Numerator

Numerator coefficients

向量或矩阵 - {'[1]'}

Denominator

Denominator coefficients

向量 - {'[1 1]'}

AbsoluteTolerance

Absolute tolerance

字符向量、标量或向量 - {'auto'} | {'–1'} | 任何实数标量或向量

ContinuousStateAttributes

State Name

{''} | 用户定义

Transport Delay (TransportDelay)

DelayTime

Time delay

标量或向量 - {'1'}

InitialOutput

Initial output

标量或向量 - {'0'}

BufferSize

Initial buffer size

标量 - {'1024'}

FixedBuffer

Use fixed buffer size

{'off'} | 'on'

TransDelayFeedthrough

Direct feedthrough of input during linearization

{'off'} | 'on'

PadeOrder

Pade order (for linearization)

{'0'}

Variable Time Delay (VariableTimeDelay)

VariableDelayType

Select delay type

'Variable transport delay' | {'Variable time delay'}

MaximumDelay

Maximum delay

标量或向量 - {'10'}

InitialOutput

Initial output

标量或向量 - {'0'}

MaximumPoints

Initial buffer size

标量 - {'1024'}

FixedBuffer

Use fixed buffer size

{'off'} | 'on'

ZeroDelay

Handle zero delay

{'off'} | 'on'

TransDelayFeedthrough

Direct feedthrough of input during linearization

{'off'} | 'on'

PadeOrder

Pade order (for linearization)

{'0'}

ContinuousStateAttributes

State Name

{''} | 用户定义

Variable Transport Delay (VariableTransportDelay)

VariableDelayType

Select delay type

{'Variable transport delay'} | 'Variable time delay'

MaximumDelay

Maximum delay

标量或向量 - {'10'}

InitialOutput

Initial output

标量或向量 - {'0'}

MaximumPoints

Initial buffer size

标量 - {'1024'}

FixedBuffer

Use fixed buffer size

{'off'} | 'on'

TransDelayFeedthrough

Direct feedthrough of input during linearization

{'off'} | 'on'

PadeOrder

Pade order (for linearization)

{'0'}

AbsoluteTolerance

Absolute tolerance

字符向量、标量或向量 - {'auto'}| {'–1'} | 任何正实数标量或向量

ContinuousStateAttributes

State Name

{''} | 用户定义

Zero-Pole (ZeroPole)

Zeros

Zeros

向量 - {'[1]'}

Poles

Poles

向量 - {'[0 -1]'}

Gain

Gain

向量 - {'[1]'}

AbsoluteTolerance

Absolute tolerance

字符向量、标量或向量 - {'auto'}| {'–1'} | 任何正实数标量或向量

ContinuousStateAttributes

State Name

{''} | 用户定义

Discontinuities 库模块参数

模块(类型)/参数

对话框提示

Backlash (Backlash)

BacklashWidth

Deadband width

标量或向量 - {'1'}

InitialOutput

Initial output

标量或向量 - {'0'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Coulomb & Viscous Friction (Coulombic and Viscous Friction)(封装子系统)

offset

Coulomb friction value (Offset)

{'[1 3 2 0]'}

gain

Coefficient of viscous friction (Gain)

{'1'}

Dead Zone (DeadZone)

LowerValue

Start of dead zone

标量或向量 - {'-0.5'}

UpperValue

End of dead zone

标量或向量 - {'0.5'}

SaturateOnIntegerOverflow

Saturate on integer overflow

'off' | {'on'}

LinearizeAsGain

Treat as gain when linearizing

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Dead Zone Dynamic (Dead Zone Dynamic)(封装子系统)

Hit Crossing (HitCross)

HitCrossingOffset

Hit crossing offset

标量或向量 - {'0'}

HitCrossingDirection

Hit crossing direction

'rising' | 'falling' | {'either'}

ShowOutputPort

Show output port

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Quantizer (Quantizer)

QuantizationInterval

Quantization interval

标量或向量 - {'0.5'}

LinearizeAsGain

Treat as gain when linearizing

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Rate Limiter (RateLimiter)

RisingSlewLimit

Rising slew rate

{'1'}

FallingSlewLimit

Falling slew rate

{'-1'}

SampleTimeMode

Sample time mode

'continuous' | {'inherited'}

InitialCondition

Initial condition

{'0'}

LinearizeAsGain

Treat as gain when linearizing

'off' | {'on'}

Rate Limiter Dynamic (Rate Limiter Dynamic)(封装子系统)

Relay (Relay)

OnSwitchValue

Switch on point

{'eps'}

OffSwitchValue

Switch off point

{'eps'}

OnOutputValue

Output when on

{'1'}

OffOutputValue

Output when off

{'0'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via back propagation' | {'Inherit: All ports same datatype'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

Saturation (Saturate)

UpperLimit

Upper limit

标量或向量 - {'0.5'}

LowerLimit

Lower limit

标量或向量 - {'-0.5'}

LinearizeAsGain

Treat as gain when linearizing

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via back propagation' | {'Inherit: Same as input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

Saturation Dynamic (Saturation Dynamic)(封装子系统)

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Same as second input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutputDataTypeScalingMode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

 

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate on integer overflow

{'off'} | 'on'

Wrap To Zero (Wrap To Zero)(封装子系统)

Threshold

Threshold

{'255'}

Discrete 库模块参数

模块(类型)/参数对话框提示

Delay (Delay)

DelayLengthSource

Delay length > Source

{'Dialog'} | 'Input port'

DelayLength

Delay length > Value

{'2'}

DelayLengthUpperLimit

Delay length > Upper limit

{'100'}

InitialConditionSource

Initial condition > Source

{'Dialog'} | 'Input port'

InitialCondition

Initial condition > Value

{'0.0'}

ExternalReset

External reset

{'None'} | 'Rising' | 'Falling' | 'Either' | 'Level' | 'Level hold'

InputProcessing

Input processing

'Columns as channels (frame based)' | {'Elements as channels (sample based)'} | 'Inherited'

UseCircularBuffer

Use circular buffer for state

{'off'} | 'on'

PreventDirectFeedthrough

Prevent direct feedthrough

{'off'} | 'on'

RemoveDelayLengthCheckInGeneratedCode

Remove delay length check in generated code

{'off'} | 'on'

DiagnosticForDelayLength

Diagnostic for delay length

{'None'} | 'Warning' | 'Error'

SampleTime

Sample time (–1 for inherited)

{'-1'}

StateName

State name

{''}

StateMustResolveToSignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

CodeGenStateStorageTypeQualifier

Code generation storage type qualifier

{''}

Difference (Difference)(封装子系统)

ICPrevInput

Initial condition for previous input

{'0.0'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutputDataTypeScalingMode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Discrete Derivative (Discrete Derivative)(封装子系统)

gainval

Gain value

{'1.0'}

ICPrevScaledInput

Initial condition for previous weighted input K*u/Ts

{'0.0'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutputDataTypeScalingMode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Discrete FIR Filter (Discrete FIR Filter)

CoefSource

Coefficient source

{'Dialog parameters'} | 'Input port'

FilterStructure

Filter structure

{'Direct form'} | 'Direct form symmetric' | 'Direct form antisymmetric' | 'Direct form transposed' | 'Lattice MA'

注意

必须拥有 DSP System Toolbox™ 许可证才能使用非 Direct form 的滤波器结构。

Coefficients

Coefficients

向量 - {'[0.5 0.5]'}

InputProcessing

Input processing

'Columns as channels (frame based)' | {'Elements as channels (sample based)'}

InitialStates

Initial states

标量或向量 - {'0'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

CoefMin

Coefficients minimum

{'[]'}

CoefMax

Coefficients maximum

{'[]'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

TapSumDataTypeStr

Tap sum data type

{'Inherit: Same as input'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)'

CoefDataTypeStr

Coefficients data type

{'Inherit: Same word length as input'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)'

ProductDataTypeStr

Product output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)'

AccumDataTypeStr

Accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'Inherit: Same as product output' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)'

StateDataTypeStr

State data type

'Inherit: Same as input' | {'Inherit: Same as accumulator'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)'

OutDataTypeStr

Output data type

'Inherit: Same as input' | {'Inherit: Same as accumulator'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16)' | 'fixdt(1,16,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnIntegerOverflow

Saturate on integer overflow

{'off'} | 'on'

Discrete Filter (DiscreteFilter)

Numerator

Numerator coefficients

向量 - {'[1]'}

Denominator

Denominator coefficients

向量 - {'[1 0.5]'}

IC

Initial states

{'0'}

SampleTime

Sample time (-1 for inherited)

{'1'}

a0EqualsOne

Optimize by skipping divide by leading denominator coefficient (a0)

{'off'} | 'on'

NumCoefMin

Numerator coefficient minimum

{'[]'}

NumCoefMax

Numerator coefficient maximum

{'[]'}

DenCoefMin

Denominator coefficient minimum

{'[]'}

DenCoefMax

Denominator coefficient maximum

{'[]'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

StateDataTypeStr

State data type

{'Inherit: Same as input'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

NumCoefDataTypeStr

Numerator coefficient data type

{'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16)' | 'fixdt(1,16,0)'

DenCoefDataTypeStr

Denominator coefficient data type

{'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16)' | 'fixdt(1,16,0)'

NumProductDataTypeStr

Numerator product output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

DenProductDataTypeStr

Denominator product output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

NumAccumDataTypeStr

Numerator accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'Inherit: Same as product output' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

DenAccumDataTypeStr

Denominator accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'Inherit: Same as product output' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnIntegerOverflow

Saturate on integer overflow

{'off'} | 'on'

StateName

State name

{''}

StateMustResolveToSignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

RTWStateStorageTypeQualifier

Code generation storage type qualifier

{''}

Discrete State-Space (DiscreteStateSpace)

A

A

矩阵 - {'1'}

B

B

矩阵 - {'1'}

C

C

矩阵 - {'1'}

D

D

矩阵 - {'1'}

InitialCondition

Initial conditions

向量 - {'0'}

SampleTime

Sample time (-1 for inherited)

{'1'}

StateName

State name

{''}

StateMustResolveToSignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

RTWStateStorageTypeQualifier

Code generation storage type qualifier

{''}

Discrete Transfer Fcn (DiscreteTransferFcn)

Numerator

Numerator coefficients

向量 - {'[1]'}

Denominator

Denominator coefficients

向量 - {'[1 0.5]'}

InitialStates

Initial states

{'0'}

SampleTime

Sample time (-1 for inherited)

{'1'}

a0EqualsOne

Optimize by skipping divide by leading denominator coefficient (a0)

{'off'} | 'on'

NumCoefMin

Numerator coefficient minimum

{'[]'}

NumCoefMax

Numerator coefficient maximum

{'[]'}

DenCoefMin

Denominator coefficient minimum

{'[]'}

DenCoefMax

Denominator coefficient maximum

{'[]'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

StateDataTypeStr

State data type

{'Inherit: Same as input'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

NumCoefDataTypeStr

Numerator coefficient data type

{'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

DenCoefDataTypeStr

Denominator coefficient data type

{'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

NumProductDataTypeStr

Numerator product output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

DenProductDataTypeStr

Denominator product output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

NumAccumDataTypeStr

Numerator accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'Inherit: Same as product output' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

DenAccumDataTypeStr

Denominator accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'Inherit: Same as product output' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnIntegerOverflow

Saturate on integer overflow

{'off'} | 'on'

StateName

State name

{''}

StateMustResolveToSignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

RTWStateStorageTypeQualifier

Code generation storage type qualifier

{''}

Discrete Zero-Pole (DiscreteZeroPole)

Zeros

Zeros

向量 - {'[1]'}

Poles

Poles

向量 - {'[0 0.5]'}

Gain

Gain

{'1'}

SampleTime

Sample time (-1 for inherited)

{'1'}

StateName

State name

{''}

StateMustResolveToSignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

RTWStateStorageType
Qualifier

Code generation storage type qualifier

{''}

Discrete-Time Integrator (DiscreteIntegrator)

IntegratorMethod

Integrator method

{'Integration: Forward Euler'} | 'Integration: Backward Euler' | 'Integration: Trapezoidal' | 'Accumulation: Forward Euler' | 'Accumulation: Backward Euler' | 'Accumulation: Trapezoidal'

gainval

Gain value

{'1.0'}

ExternalReset

External reset

{'none'} | 'rising' | 'falling' | 'either' | 'level' | 'sampled level'

InitialConditionSource

Initial condition source

{'internal'} | 'external'

InitialCondition

Initial condition

标量或向量 - {'0'}

InitialConditionSetting

Initial condition setting

{'State (most efficient)'} | 'Output' | 'Compatibility'

SampleTime

Sample time (-1 for inherited)

{'1'}

LimitOutput

Limit output

{'off'} | 'on'

UpperSaturationLimit

Upper saturation limit

标量或向量 - {'inf'}

LowerSaturationLimit

Lower saturation limit

标量或向量 - {'-inf'}

ShowSaturationPort

Show saturation port

{'off'} | 'on'

ShowStatePort

Show state port

{'off'} | 'on'

IgnoreLimit

Ignore limit and reset when linearizing

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

StateName

State name

{''}

StateMustResolveTo
SignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

RTWStateStorageType
Qualifier

Code generation storage type qualifier

{''}

First-Order Hold (First-Order Hold)(封装子系统)

Ts

Sample time

{'1'}

Memory (Memory)

InitialCondition

Initial condition

标量或向量 - {'0'}

InheritSampleTime

Inherit sample time

{'off'} | 'on'

LinearizeMemory

Direct feedthrough of input during linearization

{'off'} | 'on'

LinearizeAsDelay

Treat as a unit delay when linearizing with discrete sample time

{'off'} | 'on'

StateName

State name

{''}

StateMustResolveTo
SignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

RTWStateStorageType
Qualifier

Code generation storage type qualifier

{''}

Tapped Delay (S-Function) (Tapped Delay Line)(封装子系统)

vinit

Initial condition

{'0.0'}

samptime

Sample time

{'-1'}

NumDelays

Number of delays

{'4'}

DelayOrder

Order output vector starting with

{'Oldest'} | 'Newest'

includeCurrent

Include current input in output vector

{'off'} | 'on'

Transfer Fcn First Order (First Order Transfer Fcn)(封装子系统)

PoleZ

Pole (in Z plane)

{'0.95'}

ICPrevOutput

Initial condition for previous output

{'0.0'}

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Transfer Fcn Lead or Lag (Lead or Lag Compensator)(封装子系统)

PoleZ

Pole of compensator (in Z plane)

{'0.95'}

ZeroZ

Zero of compensator (in Z plane)

{'0.75'}

ICPrevOutput

Initial condition for previous output

{'0.0'}

ICPrevInput

Initial condition for previous input

{'0.0'}

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Transfer Fcn Real Zero (Transfer Fcn Real Zero)(封装子系统)

ZeroZ

Zero (in Z plane)

{'0.75'}

ICPrevInput

Initial condition for previous input

{'0.0'}

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Unit Delay (UnitDelay)

InitialCondition

Initial condition

标量或向量 - {'0'}

InputProcessing

Input processing

'Columns as channels (frame based)' | {'Elements as channels (sample based)'} | 'Inherited'

SampleTime

Sample time (-1 for inherited)

{'-1'}

StateName

State name

{''}

StateMustResolveTo
SignalObject

State name must resolve to Simulink signal object

{'off'} | 'on'

StateSignalObject

Signal object class

Code generation storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StateStorageClass

Code generation storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

CodeGenStateStorageType
Qualifier

Code generation storage type qualifier

{''}

Zero-Order Hold (ZeroOrderHold)

SampleTime

Sample time (-1 for inherited)

{'1'}

Logic and Bit Operations 库模块参数

模块(类型)/参数

对话框提示

Bit Clear (Bit Clear)(封装子系统)

iBit

Index of bit (0 is least significant)

{'0'}

Bit Set (Bit Set)(封装子系统)

iBit

Index of bit (0 is least significant)

{'0'}

Bitwise Operator (S-Function) (Bitwise Operator)(封装子系统)

logicop

Operator

{'AND'} | 'OR' | 'NAND' | 'NOR' | 'XOR' | 'NOT'

UseBitMask

Use bit mask ...

'off' | {'on'}

NumInputPorts

输入端口个数

{'1'}

BitMask

Bit Mask

{'bin2dec('11011001')'}

BitMaskRealWorld

Treat mask as

'Real World Value' | {'Stored Integer'}

Combinatorial Logic (CombinatorialLogic)

TruthTable

Truth table

{'[0 0;0 1;0 1;1 0;0 1;1 0;1 0;1 1]'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Compare To Constant (Compare To Constant)(封装子系统)

relop

Operator

'==' | '~=' | '<' | {'<='} | '>=' | '>'

const

Constant value

{'3.0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

Compare To Zero (Compare To Zero)(封装子系统)

relop

Operator

'==' | '~=' | '<' | {'<='} | '>=' | '>'

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

Detect Change (Detect Change)(封装子系统)

vinit

Initial condition

{'0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Detect Decrease (Detect Decrease)(封装子系统)

vinit

Initial condition

{'0.0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Detect Fall Negative (Detect Fall Negative)(封装子系统)

vinit

Initial condition

{'0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Detect Fall Nonpositive (Detect Fall Nonpositive)(封装子系统)

vinit

Initial condition

{'0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Detect Increase (Detect Increase)(封装子系统)

vinit

Initial condition

{'0.0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Detect Rise Nonnegative (Detect Rise Nonnegative)(封装子系统)

vinit

Initial condition

{'0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Detect Rise Positive (Detect Rise Positive)(封装子系统)

vinit

Initial condition

{'0'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Extract Bits (Extract Bits)(封装子系统)

bitsToExtract

Bits to extract

{'Upper half'} | 'Lower half' | 'Range starting with most significant bit' | 'Range ending with least significant bit' | 'Range of bits'

numBits

Number of bits

{'8'}

bitIdxRange

Bit indices ([start end], 0-based relative to LSB)

{'[0 7]'}

outScalingMode

Output scaling mode

{'Preserve fixed-point scaling'} | 'Treat bit field as an integer'

Interval Test (Interval Test)(封装子系统)

IntervalClosedRight

Interval closed on right

'off' | {'on'}

uplimit

Upper limit

{'0.5'}

IntervalClosedLeft

Interval closed on left

'off' | {'on'}

lowlimit

Lower limit

{'-0.5'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Interval Test Dynamic (Interval Test Dynamic)(封装子系统)

IntervalClosedRight

Interval closed on right

'off' | {'on'}

IntervalClosedLeft

Interval closed on left

'off' | {'on'}

OutDataTypeStr

Output data type

{'boolean'} | 'uint8'

Logical Operator (Logic)

Operator

Operator

{'AND'} | 'OR' | 'NAND' | 'NOR' | 'XOR' | 'NXOR' | 'NOT'

Inputs

输入端口个数

{'2'}

IconShape

Icon shape

{'rectangular'} | 'distinctive'

SampleTime

Sample time (-1 for inherited)

{'-1'}

AllPortsSameDT

Require all inputs and output to have the same data type

{'off'} | 'on'

OutDataTypeStr

Output data type

'Inherit: Logical (see Configuration Parameters: Optimization)' | {'boolean'} | 'fixdt(1,16)'

Relational Operator (RelationalOperator)

Operator

Relational operator

'==' | '~=' | '<' | {'<='} | '>=' | '>' | 'isInf' | 'isNaN' | 'isFinite'

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have the same data type

{'off'} | 'on'

OutDataTypeStr

Output data type

'Inherit: Logical (see Configuration Parameters: Optimization)' | {'boolean'} | 'fixdt(1,16)'

Shift Arithmetic (ArithShift)

BitShiftNumberSource

Bits to shift > Source

{'Dialog'} | 'Input port'

BitShiftDirection

Bits to shift > Direction

'Left' | 'Right' | {'Bidirectional'}

BitShiftNumber

Bits to shift > Number

{'8'}

BinPtShiftNumber

Binary points to shift > Number

{'0'}

DiagnosticForOORShift

Diagnostic for out-of-range shift value

{'None'} | 'Warning' | 'Error'

CheckOORBitShift

Check for out-of-range 'Bits to shift' in generated code

{'off'} | 'on'

nBitShiftRight

在 R2011a 中已弃用

 

nBinPtShiftRight

在 R2011a 中已弃用

 

Lookup Table 库模块参数

模块(类型)/参数

对话框提示

Cosine (Cosine)(封装子系统)

Formula

Output formula

'sin(2*pi*u)' | {'cos(2*pi*u)'} | 'exp(j*2*pi*u)' | 'sin(2*pi*u) and cos(2*pi*u)'

NumDataPoints

Number of data points for lookup table

{'(2^5)+1'}

OutputWordLength

Output word length

{'16'}

InternalRulePriority

Internal rule priority for lookup table

{'Speed'} | 'Precision'

Direct Lookup Table (n-D) (LookupNDDirect)

NumberOfTableDimensions

Number of table dimensions

'1' | {'2'} | '3' | '4'

InputsSelectThisObjectFromTable

Inputs select this object from table

{'Element'} | 'Vector' | '2-D Matrix'

TableIsInput

Make table an input

{'off'} | 'on'

Table

Table data

{'[4 5 6;16 19 20;10 18 23]'}

DiagnosticForOutOfRangeInput

Diagnostic for out-of-range input

'None' | {'Warning'} | 'Error'

SampleTime

Sample time (-1 for inherited)

{'-1'}

TableMin

Table minimum

{'[]'}

TableMax

Table maximum

{'[]'}

TableDataTypeStr

Table data type

{'Inherit: Inherit from 'Table data''} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

maskTabDims

在 R2009b 中已弃用

 

explicitNumDims

在 R2009b 中已弃用

outDims

在 R2009b 中已弃用

 

tabIsInput

在 R2009b 中已弃用

 

mxTable

在 R2009b 中已弃用

 

clipFlag

在 R2009b 中已弃用

 

samptime

在 R2009b 中已弃用

 

Interpolation Using Prelookup (Interpolation_n-D)

NumberOfTableDimensions

Number of table dimensions

'1' | {'2'} | '3' | '4'

Table

Table data > Value

{'sqrt([1:11]' * [1:11])'}

TableSource

Table data > Source

{'Dialog'} | 'Input port'

TableSpecification

Specification

{'Explicit values'} | | 'Lookup table object'

要将此参数从 'Explicit values' 设置为 'Lookup table object',请使用对 set_param 的相同调用来设置参数 LookupTableObject。例如:

set_param('myModel/myInterpBlock',...
'TableSpecification',...
'Lookup table object',...
'LookupTableObject','myLUTObject')

LookupTableObject

Name of lookup table object

{''}

InterpMethod

Interpolation method

'Flat' | {'Linear point-slope'} | 'Nearest' | 'Linear Lagrange'

ExtrapMethod

Extrapolation method

'Clip' | {'Linear'}

ValidIndexMayReachLast

Valid index input may reach last index

{'off'} | 'on'

DiagnosticForOutOfRange
Input

Diagnostic for out-of-range input

{'None'} | 'Warning' | 'Error'

RemoveProtectionIndex

Remove protection against out-of-range index in generated code

{'off'} | 'on'

NumSelectionDims

Number of sub-table selection dimensions

{'0'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

TableDataTypeStr

Table data > Data Type

'Inherit: Inherit from 'Table data'' | {'Inherit: Same as output'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

TableMin

Table data > Minimum

{'[]'}

TableMax

Table data > Maximum

{'[]'}

IntermediateResultsDataTypeStr

Intermediate results > Data Type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as output' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutDataTypeStr

Output > Data Type

'Inherit: Inherit via back propagation' | {'Inherit: Inherit from table data'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutMin

Output > Minimum

{'[]'}

OutMax

Output > Maximum

{'[]'}

InternalRulePriority

Internal rule priority

{'Speed'} | 'Precision'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnIntegerOverflow

Saturate on integer overflow

{'off'} | 'on'

CheckIndexInCode

在 R2011a 中已弃用

 

n-D Lookup Table, 1-D Lookup Table, 2-D Lookup Table (Lookup_n-D)

NumberOfTableDimensions

Number of table dimensions

'1' | '2' | '3' | '4'.默认值“1”表示 1 维查找表,“2”表示 2 维查找表,“3”表示 n 维查找表。

DataSpecification

(n-D Lookup Table) Data specification

{'Table and breakpoints'} | 'Lookup table object'

要将此参数从 'Table and breakpoints' 设置为 'Lookup table object',请使用对 set_param 的相同调用来设置参数 LookupTableObject。例如:

set_param('myModel/myLookupBlock',...
'DataSpecification','Lookup table...
object',...
'LookupTableObject','myLUTObject')

LookupTableObject

Name of lookup table object.

{''}

Table

Table data

{'reshape(repmat([4 5 6;16 19 20;10 18 23],1,2),[3,3,2])'}

BreakpointsSpecification

Breakpoints specification

{'Explicit values'} | 'Even spacing'

BreakpointsForDimension1FirstPoint

First point

{'1'}

BreakpointsForDimension2FirstPoint

First point

{'1'}

BreakpointsForDimension3FirstPoint

First point

{'1'}

...

...

...

BreakpointsForDimension30FirstPoint

First point

{'1'}

BreakpointsForDimension1Spacing

Spacing

{'1'}

BreakpointsForDimension2Spacing

Spacing

{'1'}

BreakpointsForDimension3Spacing

Spacing

{'1'}

...

...

...

BreakpointsForDimension30Spacing

Spacing

{'1'}

BreakpointsForDimension1

Breakpoints 1

{'[10,22,31]'}

BreakpointsForDimension2

Breakpoints 2

{'[10,22,31]'}

BreakpointsForDimension3

Breakpoints 3

{'[5, 7]'}

...

......

BreakpointsForDimension30

Breakpoints 30

{'[1:3]'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InterpMethod

Interpolation method

'Flat' | 'Nearest' | {'Linear point-slope'} | 'Linear Lagrange' | 'Cubic spline'

ExtrapMethod

Extrapolation method

'Clip' | {'Linear'} | 'Cubic spline'

UseLastTableValue

Use last table value for inputs at or above last breakpoint

{'off'} | 'on'

DiagnosticForOutOfRange
Input

Diagnostic for out-of-range input

{'None'} | 'Warning' | 'Error'

RemoveProtectionInput

Remove protection against out-of-range input in generated code

{'off'} | 'on'

IndexSearchMethod

Index search method

'Evenly spaced points' | 'Linear search' | {'Binary search'}

BeginIndexSearchUsing
PreviousIndexResult

Begin index search using previous index result

{'off'} | 'on'

UseOneInputPortForAll
InputData

Use one input port for all input data

{'off'} | 'on'

SupportTunableTableSize

Support tunable table size in code generation

{'off'} | 'on'

MaximumIndicesForEach
Dimension

Maximum indices for each dimension

{'[]'}

TableDataTypeStr

Table data > Data Type

'Inherit: Inherit from 'Table data'' | {'Inherit: Same as output'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

TableMin

Table data > Minimum

{'[]'}

TableMax

Table data > Maximum

{'[]'}

BreakpointsForDimension1
DataTypeStr

Breakpoints 1 > Data Type

{'Inherit: Same as corresponding input'} | 'Inherit: Inherit from 'Breakpoint data'' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

BreakpointsForDimension1
Min

Breakpoints 1 > Minimum

{'[]'}

BreakpointsForDimension1
Max

Breakpoints 1 > Maximum

{'[]'}

BreakpointsForDimension2
DataTypeStr

Breakpoints 2 > Data Type

{'Inherit: Same as corresponding input'} | 'Inherit: Inherit from 'Breakpoint data'' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

BreakpointsForDimension2
Min

Breakpoints 2 > Minimum

{'[]'}

BreakpointsForDimension2
Max

Breakpoints 2 > Maximum

{'[]'}

...

......

BreakpointsForDimension30
DataTypeStr

Breakpoints 30 > Data Type

{'Inherit: Same as corresponding input'} | 'Inherit: Inherit from 'Breakpoint data'' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

BreakpointsForDimension30
Min

Breakpoints 30 > Minimum

{'[]'}

BreakpointsForDimension30
Max

Breakpoints 30 > Maximum

{'[]'}

FractionDataTypeStr

Fraction > Data Type

{'Inherit: Inherit via internal rule'} | 'double' | 'single' | 'fixdt(1,16,0)'

IntermediateResults
DataTypeStr

Intermediate results > Data Type

'Inherit: Inherit via internal rule' | {'Inherit: Same as output'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutDataTypeStr

Output > Data Type

'Inherit: Inherit via back propagation' | 'Inherit: Inherit from table data' | {'Inherit: Same as first input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutMin

Output > Minimum

{'[]'}

OutMax

Output > Maximum

{'[]'}

InternalRulePriority

Internal rule priority

{'Speed'} | 'Precision'

InputSameDT

Require all inputs to have the same data type

'off' | {'on'}

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | 'Floor' | 'Nearest' | 'Round' | {'Simplest'} | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

ProcessOutOfRangeInput

在 R2009b 中已弃用

 

Lookup Table Dynamic (Lookup Table Dynamic)(封装子系统)

LookUpMeth

Lookup Method

'Interpolation-Extrapolation' | {'Interpolation-Use End Values'} | 'Use Input Nearest' | 'Use Input Below' | 'Use Input Above'

OutDataTypeStr

Output data type

{'fixdt('double')'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutputDataTypeScaling
Mode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

 

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round'| 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Prelookup (PreLookup)

BreakpointsSpecification

Specification

{'Explicit values'} | 'Even spacing' | 'Breakpoint object'

要将此参数从 'Explicit values''Even spacing' 设置为 'Breakpoint object',请使用对 set_param 的相同调用来设置参数 BreakpointObject。例如:

set_param('myModel/myPrelookupBlock',...
'BreakpointsSpecification',...
'Breakpoint object',...
'BreakpointObject','myBPObject')

BreakpointObject

Name of breakpoint object

{''}

BreakpointsFirstPoint

First point

{'10'}

BreakpointsSpacing

Spacing

{'10'}

BreakpointsNumPoints

Number of points

{'11'}

BreakpointsData

Value

{'[10:10:110]'}

BreakpointsDataSource

Source

{'Dialog'} | 'Input port'

IndexSearchMethod

Index search method

'Evenly spaced points' | 'Linear search' | {'Binary search'}

BeginIndexSearchUsing
PreviousIndexResult

Begin index search using previous index result

{'off'} | 'on'

OutputOnlyTheIndex

Output only the index

{'off'} | 'on'

ExtrapMethod

Extrapolation method

'Clip' | {'Linear'}

UseLastBreakpoint

Use last breakpoint for input at or above upper limit

{'off'} | 'on'

DiagnosticForOutOfRange
Input

Diagnostic for out-of-range input

{'None'} | 'Warning' | 'Error'

RemoveProtectionInput

Remove protection against out-of-range input in generated code

{'off'} | 'on'

SampleTime

Sample time (-1 for inherited)

{'-1'}

BreakpointDataTypeStr

Breakpoint > Data Type

{'Inherit: Same as input'} | 'Inherit: Inherit from 'Breakpoint data'' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

BreakpointMin

Breakpoint > Minimum

{'[]'}

BreakpointMax

Breakpoint > Maximum

{'[]'}

IndexDataTypeStr

Index > Data Type

'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | {'uint32'} | 'fixdt(1,16)'

FractionDataTypeStr

Fraction > Data Type

{'Inherit: Inherit via internal rule'} | 'double' | 'single' | 'fixdt(1,16,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

ProcessOutOfRangeInput

在 R2011a 中已弃用

 

Sine (Sine)(封装子系统)

Formula

Output formula

{'sin(2*pi*u)'} | 'cos(2*pi*u)' | 'exp(j*2*pi*u)' | 'sin(2*pi*u) and cos(2*pi*u)'

NumDataPoints

Number of data points for lookup table

{'(2^5)+1'}

OutputWordLength

Output word length

{'16'}

InternalRulePriority

Internal rule priority for lookup table

{'Speed'} | 'Precision'

Math Operations 库模块参数

模块(类型)/参数对话框提示

Abs (Abs)

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Add (Sum)

IconShape

Icon shape

{'rectangular'} | 'round'

Inputs

List of signs

{'++'}

CollapseMode

Sum over

{'All dimensions'} | 'Specified dimension'

CollapseDim

Dimension

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have the same data type

{'off'} | 'on'

AccumDataTypeStr

Accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'Inherit: Same as accumulator' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

代数约束 (Algebraic Constraint)

Constraint

Constraint on input signal

{'f(z) = 0'} | 'f(z) = z'

Solver

Algebraic Loop Solver

{'auto'} | 'Trust Region' | 'Line Search'

Tolerance

Solver Tolerance

{'auto'}

InitialGuess

Initial guess

{'0'}

Assignment (Assignment)

NumberOfDimensions

Number of output dimensions

{'1'}

IndexMode

Index mode

'Zero-based' | {'One-based'}

OutputInitialize

Initialize output (Y)

{'Initialize using input port <Y0>'} | 'Specify size for each dimension in table'

IndexOptionArray

Index Option

'Assign all' | {'Index vector (dialog)'} | 'Index vector (port)' | 'Starting index (dialog)' | 'Starting index (port)'

IndexParamArray

Index

元胞数组

OutputSizeArray

Output Size

元胞数组

DiagnosticForDimensions

Action if any output element is not assigned

'Error' | 'Warning' | {'None'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

IndexOptions

有关详细信息,请参阅 IndexOptionArray 参数。

 

Indices

有关详细信息,请参阅 IndexParamArray 参数。

 

OutputSizes

有关详细信息,请参阅 OutputSizeArray 参数。

 

Bias (Bias)

Bias

Bias

{'0.0'}

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Complex to Magnitude-Angle (ComplexToMagnitudeAngle)

Output

Output

'Magnitude' | 'Angle' | {'Magnitude and angle'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Complex to Real-Imag (ComplexToRealImag)

Output

Output

'Real' | 'Imag' | {'Real and imag'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Divide (Product)

Inputs

Number of inputs

{'*/'}

Multiplication

Multiplication

{'Element-wise(.*)'} | 'Matrix(*)'

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Dot Product (DotProduct)

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have same data type

'off' | {'on'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutputDataTypeScaling
Mode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

 

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Find (Find)

IndexOutputFormat

Index output format

{'Linear indices'} | 'Subscripts'

NumberOfInputDimensions

Number of input dimensions

整数 - {'1'}

IndexMode

Index mode

{'Zero-based'} | 'One-based'

ShowOutputForNonzero
InputValues

Show output port for nonzero input values

{'off'} | 'on'

SampleTime

Sample time (–1 for inherited)

{'-1'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16)'

Gain (Gain)

Gain

Gain

{'1'}

Multiplication

Multiplication

{'Element-wise(K.*u)'} | 'Matrix(K*u)' | 'Matrix(u*K)' | 'Matrix(K*u) (u vector)'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

ParamMin

Parameter minimum

{'[]'}

ParamMax

Parameter maximum

{'[]'}

ParamDataTypeStr

Parameter data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'Inherit: Inherit from 'Gain'' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

Magnitude-Angle to Complex (MagnitudeAngleToComplex)

Input

Input

'Magnitude' | 'Angle' | {'Magnitude and angle'}

ConstantPart

Magnitude or Angle

{'0'}

ApproximationMethod

Approximation method

{'None'} | 'CORDIC'

NumberOfIterations

Number of iterations

{'11'}

ScaleReciprocalGainFactor

Scale output by reciprocal of gain factor

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Math Function (Math)

Operator

函数

{'exp'} | 'log' | '10^u' | 'log10' | 'magnitude^2' | 'square' | 'pow' | 'conj' | 'reciprocal' | 'hypot' | 'rem' | 'mod' | 'transpose' | 'hermitian'

OutputSignalType

Output signal type

{'auto'} | 'real' | 'complex'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as first input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

'off' | {'on'}

Matrix Concatenate (Concatenate)

NumInputs

Number of inputs

{'2'}

Mode

Mode

'Vector' | {'Multidimensional array'}

ConcatenateDimension

Concatenate dimension

{'2'}

MinMax (MinMax)

Function

Function

{'min'} | 'max'

Inputs

输入端口个数

{'1'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have the same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

MinMax Running Resettable (MinMax Running Resettable)(封装子系统)

Function

Function

{'min'} | 'max'

vinit

Initial condition

{'0.0'}

Permute Dimensions (PermuteDimensions)

Order

Order

{'[2,1]'}

Polynomial (Polyval)

coefs

Polynomial Coefficients

{'[ +2.081618890e-019, -1.441693666e-014, +4.719686976e-010, -8.536869453e-006, +1.621573104e-001, -8.087801117e+001 ]'}

Product (Product)

Inputs

Number of inputs

{'2'}

Multiplication

Multiplication

{'Element-wise(.*)'} | 'Matrix(*)'

CollapseMode

Multiply over

{'All dimensions'} | 'Specified dimension'

CollapseDim

Dimension

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | 'Floor' | 'Nearest' | 'Round' | 'Simplest' | {'Zero'}

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Product of Elements (Product)

Inputs

Number of inputs

{'*'}

Multiplication

Multiplication

{'Element-wise(.*)'} | 'Matrix(*)'

CollapseMode

Multiply over

{'All dimensions'} | 'Specified dimension'

CollapseDim

Dimension

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Real-Imag to Complex (RealImagToComplex)

Input

Input

'Real' | 'Imag' | {'Real and imag'}

ConstantPart

Real part or Imag part

{'0'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Reciprocal Sqrt (Sqrt)

Operator

Function

'sqrt' | 'signedSqrt' | {'rSqrt'}

OutputSignalType

Output signal type

{'auto'} | 'real' | 'complex'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as first input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

'off' | {'on'}

IntermediateResults
DataTypeStr

Intermediate results data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit from input' | 'Inherit: Inherit from output' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

AlgorithmType

Method

'Exact' | {'Newton-Raphson'}

Iterations

Number of iterations

{'3'}

Reshape (Reshape)

OutputDimensionality

Output dimensionality

{'1-D array'} | 'Column vector (2-D)' | 'Row vector (2-D)' | 'Customize' | 'Derive from reference input port'

OutputDimensions

Output dimensions

{'[1,1]'}

Rounding Function (Rounding)

Operator

Function

{'floor'} | 'ceil' | 'round' | 'fix'

SampleTime

Sample time (-1 for inherited)

{'-1'}

Sign (Signum)

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Signed Sqrt (Sqrt)

Operator

Function

'sqrt' | {'signedSqrt'} | 'rSqrt'

OutputSignalType

Output signal type

{'auto'} | 'real' | 'complex'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as first input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

'off' | {'on'}

IntermediateResults
DataTypeStr

Intermediate results data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit from input' | 'Inherit: Inherit from output' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

AlgorithmType

Method

{'Exact'} | 'Newton-Raphson'

Iterations

Number of iterations

{'3'}

Sine Wave Function (Sin)

SineType

Sine type

{'Time based'} | 'Sample based'

TimeSource

Time

'Use simulation time' | {'Use external signal'}

Amplitude

Amplitude

{'1'}

Bias

Bias

{'0'}

Frequency

Frequency

{'1'}

Phase

Phase

{'0'}

Samples

Samples per period

{'10'}

Offset

Number of offset samples

{'0'}

SampleTime

Sample time

{'0'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Slider Gain (Slider Gain)(封装子系统)

low

Low

{'0'}

gain

Gain

{'1'}

high

High

{'2'}

Sqrt (Sqrt)

Operator

Function

{'sqrt'} | 'signedSqrt' | 'rSqrt'

OutputSignalType

Output signal type

{'auto'} | 'real' | 'complex'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as first input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

'off' | {'on'}

IntermediateResults
DataTypeStr

Intermediate results data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit from input' | 'Inherit: Inherit from output' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

AlgorithmType

Method

{'Exact'} | 'Newton-Raphson'

Iterations

Number of iterations

{'3'}

Squeeze (Squeeze)(封装子系统)

None

None

None

Subtract (Sum)

IconShape

Icon shape

{'rectangular'} | 'round'

Inputs

List of signs

{'+-'}

CollapseMode

Sum over

{'All dimensions'} | 'Specified dimension'

CollapseDim

Dimension

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have the same data type

{'off'} | 'on'

AccumDataTypeStr

Accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'Inherit: Same as accumulator' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Sum (Sum)

IconShape

Icon shape

'rectangular' | {'round'}

Inputs

List of signs

{'|++'}

CollapseMode

Sum over

{'All dimensions'} | 'Specified dimension'

CollapseDim

Dimension

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have the same data type

{'off'} | 'on'

AccumDataTypeStr

Accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'Inherit: Same as accumulator' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Sum of Elements (Sum)

IconShape

Icon shape

{'rectangular'} | 'round'

Inputs

List of signs

{'+'}

CollapseMode

Sum over

{'All dimensions'} | 'Specified dimension'

CollapseDim

Dimension

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all inputs to have the same data type

{'off'} | 'on'

AccumDataTypeStr

Accumulator data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'Inherit: Same as accumulator' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock data type settings against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Trigonometric Function (Trigonometry)

Operator

函数

{'sin'} | 'cos' | 'tan' | 'asin' | 'acos' | 'atan' | 'atan2' | 'sinh' | 'cosh' | 'tanh' | 'asinh' | 'acosh' | 'atanh' | 'sincos' | 'cos + jsin'

ApproximationMethod

Approximation method

{'None'} | 'CORDIC'

NumberOfIterations

Number of iterations

{'11'}

OutputSignalType

Output signal type

{'auto'} | 'real' | 'complex'

SampleTime

Sample time (-1 for inherited)

{'-1'}

Unary Minus (UnaryMinus)

SampleTime

Sample time (-1 for inherited)

{'-1'}

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

Vector Concatenate (Concatenate)

NumInputs

Number of inputs

{'2'}

Mode

Mode

{'Vector'} | 'Multidimensional array'

Weighted Sample Time Math (SampleTimeMath)

TsampMathOp

Operation

{'+'} | '-' | '*' | '/' | 'Ts Only' | '1/Ts Only'

weightValue

Weight value

{'1.0'}

TsampMathImp

Implement using

{'Online Calculations'} | 'Offline Scaling Adjustment'

OutDataTypeStr

Output data type

{'Inherit via internal rule'} | 'Inherit via back propagation'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

OutputDataTypeScaling
Mode

在 R2009b 中已弃用

 

DoSatur

在 R2009b 中已弃用

 

Model Verification 库模块参数

模块(类型)/参数对话框提示

Assertion (Assertion)

Enabled

Enable assertion

'off' | {'on'}

AssertionFailFcn

Simulation callback when assertion fails

{''}

StopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Check Dynamic Gap (Checks_DGap)(封装子系统)

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Dynamic Range (Checks_DRange)(封装子系统)

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Static Gap (Checks_SGap)(封装子系统)

max

Upper bound

{'100'}

max_included

Inclusive upper bound

'off' | {'on'}

min

Lower bound

{'0'}

min_included

Inclusive lower bound

'off' | {'on'}

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Static Range (Checks_SRange)(封装子系统)

max

Upper bound

{'100'}

max_included

Inclusive upper bound

'off' | {'on'}

min

Lower bound

{'0'}

min_included

Inclusive lower bound

'off' | {'on'}

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Discrete Gradient (Checks_Gradient)(封装子系统)

gradient

Maximum gradient

{'1'}

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Dynamic Lower Bound (Checks_DMin)(封装子系统)

Enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Dynamic Upper Bound (Checks_DMax)(封装子系统)

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Input Resolution (Checks_Resolution)(封装子系统)

resolution

Resolution

{'1'}

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

Check Static Lower Bound (Checks_SMin)(封装子系统)

min

Lower bound

{'0'}

min_included

Inclusive boundary

'off' | {'on'}

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Check Static Upper Bound (Checks_SMax)(封装子系统)

max

Upper bound

{'0'}

max_included

Inclusive boundary

'off' | {'on'}

enabled

Enable assertion

'off' | {'on'}

callback

Simulation callback when assertion fails (optional)

{''}

stopWhenAssertionFail

Stop simulation when assertion fails

'off' | {'on'}

export

Output assertion signal

{'off'} | 'on'

icon

Select icon type

{'graphic'} | 'text'

Model-Wide Utilities 库模块参数

模块(类型)/参数对话框提示

Block Support Table (Block Support Table)(封装子系统)

DocBlock (DocBlock)(封装子系统)

ECoderFlag

Embedded Coder® Flag

{''}

DocumentType

Document Type

{'Text'} | 'RTF' | 'HTML'

Model Info (CMBlock)(封装子系统)

InitialSaveTempField

InitialSaveTempField

{''}

InitialBlockCM

InitialBlockCM

{'None'}

BlockCM

BlockCM

{'None'}

Frame

Show block frame

'off' | {'on'}

SaveTempField

SaveTempField

{''}

DisplayStringWithTags

DisplayStringWithTags

{'Model Info'}

MaskDisplayString

MaskDisplayString

{'Model Info'}

HorizontalTextAlignment

Horizontal text alignment

{'Center'}

LeftAlignmentValue

LeftAlignmentValue

{'0.5'}

SourceBlockDiagram

SourceBlockDiagram

{'untitled'}

TagMaxNumber

TagMaxNumber

{'20'}

CMTag1

CMTag1

{''}

CMTag2

CMTag2

{''}

CMTag3

CMTag3

{''}

CMTag4

CMTag4

{''}

CMTag5

CMTag5

{''}

CMTag6

CMTag6

{''}

CMTag7

CMTag7

{''}

CMTag8

CMTag8

{''}

CMTag9

CMTag9

{''}

CMTag10

CMTag10

{''}

CMTag11

CMTag11

{''}

CMTag12

CMTag12

{''}

CMTag13

CMTag13

{''}

CMTag14

CMTag14

{''}

CMTag15

CMTag15

{''}

CMTag16

CMTag16

{''}

CMTag17

CMTag17

{''}

CMTag18

CMTag18

{''}

CMTag19

CMTag19

{''}

CMTag20

CMTag20

{''}

Timed-Based Linearization (Timed Linearization)(封装子系统)

LinearizationTime

Linearization time

{'1'}

SampleTime

Sample time (of linearized model)

{'0'}

Trigger-Based Linearization (Triggered Linearization)(封装子系统)

TriggerType

Trigger type

{'rising'} | 'falling' | 'either' | 'function-call'

SampleTime

Sample time (of linearized model)

{'0'}

Ports & Subsystems 库模块参数

模块(类型)/参数

对话框提示

Action Port (ActionPort)

InitializeStates

States when execution is resumed

{'held'} | 'reset'

PropagateVarSize

Propagate sizes of variable-size signals

{'Only when execution is resumed'} | 'During execution'

Atomic Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

TreatAsGroupedWhenPropagatingVariantConditions

Treat as grouped when propagating variant conditions

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

FunctionInterfaceSpec

Function interface

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'void_void'} | 'Allow arguments (Optimized)' | 'Allow arguments (Match graphical interface)'

FunctionWithSeparateData

Function with separate data, Function with separate dataFunction with separate dataFunction with separate data

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'off'} | 'on'

RTWMemSecFuncInitTerm

Memory section for initialize/terminate functions, Memory section for initialize/terminate functionsMemory section for initialize/terminate functionsMemory section for initialize/terminate functions

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecFuncExecute

Memory section for execution functions, Memory section for execution functionsMemory section for execution functionsMemory section for execution functions

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecDataConstants

Memory section for constants, Memory section for constantsMemory section for constantsMemory section for constants

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecDataInternal

Memory section for internal data, Memory section for internal dataMemory section for internal dataMemory section for internal data

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecDataParameters

Memory section for parameters, Memory section for parametersMemory section for parametersMemory section for parameters

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

SimViewingDevice

无对话框提示

如果设置为 'on',则指定模块作为信号查看子系统 - 这是一种原子子系统,它封装了在外部模式下从目标系统接收到的信号的处理和查看。有关详细信息,请参阅信号查看子系统 (Simulink Coder)

{'off'} | 'on'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

Code Reuse Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

'Auto' | 'Inline' | 'Nonreusable function' | {'Reusable function'}

RTWFcnNameOpts

Function name options

'Auto' | {'Use subsystem name'} | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

'Auto' | {'Use subsystem name'} | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

RTWMemSecFuncInitTerm

Memory section for initialize/terminate functions, Memory section for initialize/terminate functionsMemory section for initialize/terminate functionsMemory section for initialize/terminate functions

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecFuncExecute

Memory section for execution functions, Memory section for execution functionsMemory section for execution functionsMemory section for execution functions

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecDataConstants

Memory section for constants, Memory section for constantsMemory section for constantsMemory section for constants

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecDataInternal

Memory section for internal data, Memory section for internal dataMemory section for internal dataMemory section for internal data

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

RTWMemSecDataParameters

Memory section for parameters, Memory section for parametersMemory section for parametersMemory section for parameters

此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。

{'Inherit from model'}| 'Default' | 模型的类包中的内存段列表

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

Configurable Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{'self'}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

{'off'} | 'on'

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

SimViewingDevice

无对话框提示

如果设置为 'on',则指定模块作为信号查看子系统 - 这是一种原子子系统,它封装了在外部模式下从目标系统接收到的信号的处理和查看。有关详细信息,请参阅信号查看子系统 (Simulink Coder)

{'off'} | 'on'

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

无对话框提示

布尔值 - {'on'} | 'off'

只读

Enable (EnablePort)

StatesWhenEnabling

States when enabling

{'held'} | 'reset'

PropagateVarSize

Propagate sizes of variable-size signals

{'Only when enabling'} | 'During execution'

ShowOutputPort

Show output port

{'off'} | 'on'

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

Enabled and Triggered Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

Enabled Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

For Each(ForEach)

InputPartition

Partition

字符向量元胞数组

InputPartitionDimension

Partition dimension for input signal

字符向量元胞数组

InputPartitionWidth

Width of partition for input signal

字符向量元胞数组

OutputConcatenationDimension

Concatenation dimension of output signal

字符向量元胞数组

For Iterator (ForIterator)

ResetStates

States when starting

{'held'} | 'reset'

IterationSource

Iteration limit source

{'internal'} | 'external'

IterationLimit

Iteration limit

{'5'}

ExternalIncrement

Set next i (iteration variable) externally

{'off'} | 'on'

ShowIterationPort

Show iteration variable

'off' | {'on'}

IndexMode

Index mode

'Zero-based' | {'One-based'}

IterationVariable
DataType

Iteration variable data type

{'int32'} | 'int16' | 'int8' | 'double'

For Iterator Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

Function-Call Generator (Function-Call Generator)(封装子系统)

sample_time

Sample time

{'1'}

numberOfIterations

Number of iterations

{'1'}

Function-Call Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

If (If)

NumInputs

Number of inputs

{'1'}

IfExpression

If expression (e.g., u1 ~= 0)

{'u1 > 0'}

ElseIfExpressions

Elseif expressions (comma-separated list, e.g., u2 ~= 0, u3(2) < u2)

{''}

ShowElse

Show else condition

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

If Action Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Function name

{''}

RTWFileNameOpts

File name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

File name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'Off'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

In1 (Inport)

Port

Port number

{'1'}

IconDisplay

Icon display

'Signal name' | {'Port number'} | 'Port number and signal name'

LatchByDelaying
OutsideSignal

Latch input by delaying outside signal

{'off'} | 'on'

LatchInputFor
FeedbackSignals

Latch input for feedback signals of function-call subsystem outputs

{'off'} | 'on'

Interpolate

Interpolate data

'off' | {'on'}

UseBusObject

Specify properties via bus object

{'off'} | 'on'

BusObject

Bus object for specifying bus properties

{'BusObject'}

BusOutputAsStruct

Output as nonvirtual bus

{'off'} | 'on'

PortDimensions

Port dimensions (-1 for inherited)

{'-1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

Unit

指定模块的输入信号的物理单位。

{'inherit'}| '<Enter unit>'

UnitNoProp

指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

'<Enter unit>'

SignalType

Signal type

{'auto'} | 'real' | 'complex'

Model (ModelReference)

ModelNameDialog

引用模型的名称与您键入的名称完全相同,前后的空格均被删除。当您以编程方式或通过 GUI 设置 ModelNameDialog 时,Simulink 会根据 ModelNameDialog 的值自动设置 ModelNameModelFile 的值。

{'<Enter Model Name>'}

ModelName

去除了所提供的文件扩展名的 ModelNameDialog 值。为了实现向后兼容,以编程方式设置 ModelName 实际上是设置 ModelNameDialog,然后按照说明设置 ModelName。不能使用 get_param 获取受保护模型的 ModelName,因为不带后缀的名称是不确定的。请改用 ModelFile 上的 get_param。您可以测试 ProtectedModel,以编程方式确定引用的模型是否受保护。

字符向量 - 设置 ModelNameDialog 后自动设置。

ModelFile

带有文件扩展名的 ModelNameDialog 值。Simulink 找到的第一个匹配项的后缀将变为 ModelFile 的后缀。以编程方式设置 ModelFile 实际上是设置 ModelNameDialog,然后按照说明设置 ModelFile

字符向量 - 设置 ModelNameDialog 后自动设置。

ProtectedModel

只读布尔值,指示模块引用的模型是受保护 (on) 还是不受保护 (off)。

布尔值 - 'off' | 'on' - 设置 ModelNameDialog 后自动设置。

InstanceParameters

Model 模块上实例特定参数的结构体数组。包含下列字段的结构体:NameValuePathArgument

ParameterArgumentNames

引用模型定义的实例特定参数的名称。对应于 Instance parameters 选项卡上表中的 Name 列。

{''}

ParameterArgumentValues

模型参数的值。对应于 Instance parameters 选项卡上表中的 Value 列。

不包含字段的结构体

SimulationMode

指定是否通过生成并执行代码或者通过在 Simulink 软件中解析模型来执行模型仿真。

{'Normal'} | 'Accelerator' | 'Software-in-the-loop (SIL)' | 'Processor-in-the-loop (PIL)'

Variant

指定 Model 模块是否引用变体模型或 Variant Subsystems

{'off'} | 'on'
VariantConfigurationObject指定与模型关联的变体配置对象。{''}
如果没有关联的配置对象,则值为空字符向量;否则,值为 Simulink.VariantConfigurationData 对象的名称。
LabelModeActiveChoice用于在 VariantcontrolMode 设置为 Label 时指定所选项,其值为 Label 模式活动选择项的名称。{''}
如果未指定 Label 模式活动选择项,则该值为空字符向量;否则为 Label 模式活动选择项的名称。
ActiveVariant正处于活动状态的变体,可能是因为变体条件为 true,或者是因为 LabelModeActiveChoice 指定了此变体。{''}
如果没有处于活动状态的变体,则值为空字符向量;否则,值为处于活动状态的变体的名称。
GeneratePreprocessor
Conditionals

在本地控制生成的代码是否包含预处理器条件句。此参数仅适用于 Simulink Coder 代码生成,对 Simulink 中的模型行为没有任何影响。

此参数仅可用于 ERT 目标。有关详细信息,请参阅变体系统 (Embedded Coder)

{'off'} | 'on'

DefaultDataLogging

 

{'off'} | 'on'

Out1 (Outport)

Port

Port number

{'1'}

IconDisplay

Icon display

'Signal name' | {'Port number'} | 'Port number and signal name'

UseBusObject

Specify properties via bus object

{'off'} | 'on'

BusObject

Bus object for validating input bus

{'BusObject'}

BusOutputAsStruct

Output as nonvirtual bus in parent model

{'off'} | 'on'

PortDimensions

Port dimensions (-1 for inherited)

{'-1'}

VarSizeSig

Variable-size signal

{'Inherit'} | 'No' | 'Yes'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>' | 'Bus: <object name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

Unit

指定模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

{'inherit'}| '<Enter unit>'

UnitNoProp

指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

'<Enter unit>'

SignalObject

此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StorageClass

此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

SignalName

Signal name

字符向量

SignalType

Signal type

{'auto'} | 'real' | 'complex'

OutputWhenDisabled

Output when disabled

{'held'} | 'reset'

InitialOutput

Initial output

{'[]'}

MustResolveToSignalObject

此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅用于信号

{'off'} | 'on'

Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

{'off'} | 'on'

TreatAsGroupedWhenPropagatingVariantConditions

Treat as grouped when propagating variant conditions

'off' | {'on'}

VariantControl

Variant control

{'Variant'} | '(default)'

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Code generation function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Code generation function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Code generation function name

{''}

RTWFileNameOpts

Code generation file name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

Code generation file name (no extension)

{''}

DataTypeOverride

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'on'} | 'off'

只读

Virtual

供内部使用。

 

Switch Case (SwitchCase)

CaseConditions

Case conditions (e.g., {1,[2,3]})

{'{1}'}

ShowDefaultCase

Show default case

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

CaseShowDefault

在 R2009b 中已弃用

 

Switch Case Action Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Code generation function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Code generation function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Code generation function name

{''}

RTWFileNameOpts

Code generation file name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

Code generation file name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

Trigger (TriggerPort)

TriggerType

Trigger type

{'rising'} | 'falling' | 'either' | 'function-call'

IsSimulinkFunction

Configure the Function-call subsystem to be a Simulink Function

{'off'} | 'on'

StatesWhenEnabling

States when enabling

{'held'} | 'reset' | 'inherit'

PropagateVarSize

Propagate sizes of variable-size signals

{'During execution'} | 'Only when enabling'

ShowOutputPort

Show output port

{'off'} | 'on'

OutputDataType

Output data type

{'auto'} | 'double' | 'int8'

SampleTimeType

Sample time type

{'triggered'} | 'periodic'

SampleTime

Sample time

{'1'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

PortDimensions

Port dimensions (-1 for inherited)

{'-1'}

TriggerSignalSampleTime

Trigger signal sample time

{'-1'}

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

Interpolate

Interpolate data

'off' | {'on'}

Triggered Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Code generation function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Code generation function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Code generation function name

{''}

RTWFileNameOpts

Code generation file name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

Code generation file name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

Unit Conversion

OutDataTypeStr

Output data type

{'Inherit via internal rule'} | 'Inherit via back propagation'

Unit System Configuration

AllowAllUnitSystems

允许或限制单位制。

布尔值 - {'on'} | 'off'

UnitSystems

显示允许使用的单位制。

字符向量元胞数组 - {'SI','English',SI (extended)','CGS'}

While Iterator (WhileIterator)

MaxIters

Maximum number of iterations (-1 for unlimited)

{'5'}

WhileBlockType

While loop type

{'while'} | 'do-while'

ResetStates

States when starting

{'held'} | 'reset'

ShowIterationPort

Show iteration number port

{'off'} | 'on'

OutputDataType

Output data type

{'int32'} | 'int16' | 'int8' | 'double'

While Iterator Subsystem (SubSystem)

ShowPortLabels

Show port labels

注意

'off''on' 仅用于实现向后兼容性,不应在新模型中或更新现有模型时使用。

'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on'

BlockChoice

Block choice

{''}

TemplateBlock

Template block

{''}

MemberBlocks

Member blocks

{''}

Permissions

Read/Write permissions

{'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite'

ErrorFcn

Name of error callback function

{''}

PermitHierarchical
Resolution

Permit hierarchical resolution

{'All'} | 'ExplicitOnly' | 'None'

TreatAsAtomicUnit

Treat as atomic unit

'off' | {'on'}

MinAlgLoopOccurrences

Minimize algebraic loop occurrences

{'off'} | 'on'

CheckFcnCallInp
InsideContextMsg

Warn if function-call inputs are context-specific

{'off'} | 'on'

SystemSampleTime

Sample time (-1 for inherited)

{'-1'}

RTWSystemCode

Code generation function packaging

{'Auto'} | 'Inline' | 'Nonreusable function' | 'Reusable function'

RTWFcnNameOpts

Code generation function name options

{'Auto'} | 'Use subsystem name' | 'User specified'

RTWFcnName

Code generation function name

{''}

RTWFileNameOpts

Code generation file name options

{'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified'

RTWFileName

Code generation file name (no extension)

{''}

DataTypeOverride

无对话框提示

指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。

{'UseLocalSettings'} | 'ScaledDouble' | 'Double' | 'Single' | 'Off'

MinMaxOverflowLogging

无对话框提示

定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。

{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff'

IsSubsystemVirtual

 

布尔值 - {'off'} | 'on'

只读

可变子系统 (Subsystem)
Variant

无对话框提示

检查子系统是否为 Variant Subsystem 模块。

布尔值 - {'off'} | 'on'

只读

VariantChoices

无对话框提示

Variant Subsystem 模块中的变体选择项列表。

{''}

如果该模块不是 Variant Subsystem 模块,则该值为空结构体数组。否则,该值为包含 NameBlockName 字段的结构体数组。

只读

VariantControl

Variant Subsystem 模块的模块选择项的变体控制项。

{''}

如果该模块不是变体选择项,则该值为空字符向量。否则,该值是选择项模块的变体控制项。

VariantControlMode

指定用于确定活动变体选择项的模式。

{'expression'} | 'label' | 'sim codegen switching'

LabelModeActiveChoice

指定当 VariantControlMode 指定为 labelVariant Subsystem 模块的活动选择项的变体控制项标签。

{''}

如果 Variant Subsystem 模块的 VariantControlMode 不是 label,则该值为空字符向量。否则,该值是活动选择项的变体控制项标签。

TreatAsGroupedWhenPropagatingVariantConditions

无对话框提示

指定在传播变体条件时是否将 subsystem 视为组。

布尔值 - {'on'} | 'off'

GeneratePreprocessorConditionals

无对话框提示

指定是否分析所有选择项以及是否应生成预处理器条件句。

布尔值 - {'off'} | 'on'

PropagateVariantConditions

指定是否应将 Variant Subsystem 模块内的端口上的变体条件传播到模块外。

布尔值 - {'off'} | 'on'

AllowZeroVariantControls

指定是否允许 Variant Subsystem 模块没有活动选择项。

布尔值 - {'off'} | 'on'

Variant Activation Time

指定何时设置 Variant Subsystem 模块的活动选择项。

仅当您将 Variant control mode 参数设置为 “expression” 或 “sim codegen switching” 时,Variant activation time 参数才可用。

{'update diagram'} | 'update diagram analyze all choices' | 'code compile'

Signal Attributes 库模块参数

模块(类型)/参数

对话框提示

Bus to Vector (BusToVector)

Data Type Conversion (DataTypeConversion)

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via back propagation'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

ConvertRealWorld

Input and output to have equal

{'Real World Value (RWV)'} | 'Stored Integer (SI)'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

SampleTime

Sample time (-1 for inherited)

{'-1'}

Data Type Conversion Inherited (Conversion Inherited)(封装子系统)

ConvertRealWorld

Input and Output to have equal

{'Real World Value'} | 'Stored Integer'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Data Type Duplicate (DataTypeDuplicate)

NumInputPorts

输入端口个数

{'2'}

Data Type Propagation (Data Type Propagation)(封装子系统)

PropDataTypeMode

1.Propagated data type

'Specify via dialog' | {'Inherit via propagation rule'}

PropDataType

1.1.Propagated data type (e.g., fixdt(1,16), fixdt('single'))

{'fixdt(1,16)'}

IfRefDouble

1.1.If any reference input is double, output is

{'double'} | 'single'

IfRefSingle

1.2.If any reference input is single, output is

'double' | {'single'}

IsSigned

1.3.Is-Signed

'IsSigned1' | 'IsSigned2' | {'IsSigned1 or IsSigned2'} | 'TRUE' | 'FALSE'

NumBitsBase

1.4.1.Number-of-Bits:Base

'NumBits1' | 'NumBits2' | {'max([NumBits1 NumBits2])'} | 'min([NumBits1 NumBits2])' | 'NumBits1+NumBits2'

NumBitsMult

1.4.2.Number-of-Bits:Multiplicative adjustment

{'1'}

NumBitsAdd

1.4.3.Number-of-Bits:Additive adjustment

{'0'}

NumBitsAllowFinal

1.4.4.Number-of-Bits:Allowable final values

{'1:128'}

PropScalingMode

2.Propagated scaling

'Specify via dialog' | {'Inherit via propagation rule'} | 'Obtain via best precision'

PropScaling

2.1.Propagated scaling:Slope or [Slope Bias] ex.2^-9

{'2^-10'}

ValuesUsedBestPrec

2.1.Values used to determine best precision scaling

{'[5 -7]'}

SlopeBase

2.1.1.Slope:Base

'Slope1' | 'Slope2' | 'max([Slope1 Slope2])' | {'min([Slope1 Slope2])'} | 'Slope1*Slope2' | 'Slope1/Slope2' | 'PosRange1' | 'PosRange2' | 'max([PosRange1 PosRange2])' | 'min([PosRange1 PosRange2])' | 'PosRange1*PosRange2' | 'PosRange1/PosRange2'

SlopeMult

2.1.2.Slope:Multiplicative adjustment

{'1'}

SlopeAdd

2.1.3.Slope:Additive adjustment

{'0'}

BiasBase

2.2.1.Bias:Base

{'Bias1'} | 'Bias2' | 'max([Bias1 Bias2])' | 'min([Bias1 Bias2])' | 'Bias1*Bias2' | 'Bias1/Bias2' | 'Bias1+Bias2' | 'Bias1-Bias2'

BiasMult

2.2.2.Bias:Multiplicative adjustment

{'1'}

BiasAdd

2.2.3.Bias:Additive adjustment

{'0'}

Data Type Scaling Strip (Scaling Strip)(封装子系统)

IC (InitialCondition)

Value

Initial value

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Probe (Probe)

ProbeWidth

Probe width

'off' | {'on'}

ProbeSampleTime

Probe sample time

'off' | {'on'}

ProbeComplexSignal

Detect complex signal

'off' | {'on'}

ProbeSignalDimensions

Probe signal dimensions

'off' | {'on'}

ProbeFramedSignal

Detect framed signal

'off' | {'on'}

ProbeWidthDataType

Data type for width

{'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'Same as input'

ProbeSampleTimeDataType

Data type for sample time

{'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'Same as input'

ProbeComplexityDataType

Data type for signal complexity

{'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input'

ProbeDimensionsDataType

Data type for signal dimensions

{'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'Same as input'

ProbeFrameDataType

Data type for signal frames

{'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input'

Rate Transition (RateTransition)

Integrity

Ensure data integrity during data transfer

'off' | {'on'}

Deterministic

Ensure deterministic data transfer (maximum delay)

'off' | {'on'}

InitialCondition

Initial conditions

{'0'}

OutPortSampleTimeOpt

Output port sample time options

{'Specify'} | 'Inherit' | 'Multiple of input port sample time'

OutPortSampleTimeMultiple

Sample time multiple (>0)

{'1'}

OutPortSampleTime

Output port sample time

{'-1'}

Signal Conversion (SignalConversion)

ConversionOutput

Output

{'Signal copy'} | 'Virtual bus' | 'Nonvirtual bus'

OutDataTypeStr

Data type

{'Inherit: auto'} | 'Bus: <object name>'

OverrideOpt

Exclude this block from 'Block reduction' optimization

{'off'} | 'on'

Signal Specification (SignalSpecification)

Dimensions

Dimensions (-1 for inherited)

{'-1'}

VarSizeSig

Variable-size signal

{'Inherit'} | 'No' | 'Yes'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>' | 'Bus: <object name>'

BusOutputAsStruct

Require nonvirtual bus

{'off'} | 'on'

Unit

指定模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

{'inherit'}| '<Enter unit>'

UnitNoProp

指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

'<Enter unit>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

SignalType

Signal type

{'auto'} | 'real' | 'complex'

Weighted Sample Time (SampleTimeMath)

TsampMathOp

Operation

'+' | '-' | '*' | '/' | {'Ts Only'} | '1/Ts Only'

weightValue

Weight value

{'1.0'}

TsampMathImp

Implement using

{'Online Calculations'} | 'Offline Scaling Adjustment'

OutDataTypeStr

Output data type

{'Inherit via internal rule'} | 'Inherit via back propagation'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

OutputDataTypeScaling
Mode

在 R2009b 中已弃用

 

DoSatur

在 R2009b 中已弃用

 

Width (Width)

OutputDataTypeScaling
Mode

Output data type mode

{'Choose intrinsic data type'} | 'Inherit via back propagation' | 'All ports same datatype'

DataType

Output data type

{'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32'

Signal Routing 库模块参数

模块(类型)/参数对话框提示

Bus Assignment (BusAssignment)

AssignedSignals

Elements that are being assigned

{''}

InputSignals

Elements in the bus

矩阵 - {'{}'}

Bus Creator (BusCreator)

InheritFromInputs

Use names from inputs instead of from bus object

{'on'} | 'off'

如果设置为 'on',将覆盖来自输入的总线信号名称。否则,将继承总线对象的总线信号名称。

Inputs

Number of inputs

{'2'}

DisplayOption

 

'none' | 'signals' | {'bar'}

NonVirtualBus

Output as nonvirtual bus

{'off'} | 'on'

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>' | 'Bus: <object name>'

Bus Selector (BusSelector)

OutputSignals

Selected elements

字符向量 - 格式为 'signal1,signal2'

OutputAsBus

Output as bus

{'off'} | 'on'

InputSignals

Signals in bus

矩阵 - {'{}'}

Data Store Memory (DataStoreMemory)

DataStoreName

Data store name

{'A'}

ReadBeforeWriteMsg

Detect read before write

'none' | {'warning'} | 'error'

WriteAfterWriteMsg

Detect write after write

'none' | {'warning'} | 'error'

WriteAfterReadMsg

Detect write after read

'none' | {'warning'} | 'error'

InitialValue

Initial value

{'0'}

StateMustResolveTo
SignalObject

Data store name must resolve to Simulink signal object

{'off'} | 'on'

DataLogging

Log Signal Data

'off' | {'on'}

DataLoggingNameMode

Logging Name

{'SignalName'} | 'Custom'

DataLoggingName

Logging Name

{''}

DataLoggingLimit
DataPoints

Limit data points to last

'off' | {'on'}

DataLoggingMaxPoints

Limit data points to last

非零整数 {5000}

DataLoggingDecimateData

Decimation

'off' | {'on'}

DataLoggingLimit
DataPoints

Decimation

非零整数 {2}

StateStorageClass

Storage class

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

StateSignalObject

Signal object class

Storage class

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

RTWStateStorageType
Qualifier

Code generation type qualifier

{''}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

ShowAdditionalParam

Show additional parameters

{'off'} | 'on'

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

SignalType

Signal type

{'auto'} | 'real' | 'complex'

Data Store Read (DataStoreRead)

DataStoreElements对应于模块对话框的 Element Selection 选项卡上的参数。请参阅使用命令行指定 

DataStoreName

Data store name

{'A'}

SampleTime

Sample time

{'0'}

Data Store Write (DataStoreWrite)

DataStoreElements对应于模块对话框的 Element Assignment 选项卡上的参数。请参阅使用命令行指定 

DataStoreName

Data store name

{'A'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

Demux (Demux)

Outputs

Number of outputs

{'2'}

DisplayOption

Display option

'none' | {'bar'}

Environment Controller (Environment Controller)(封装子系统)

From (From)

GotoTag

Goto tag

{'A'}

IconDisplay

Icon display

'Signal name' | {'Tag'} | 'Tag and signal name'

Goto (Goto)

GotoTag

Goto tag

{'A'}

IconDisplay

Icon display

'Signal name' | {'Tag'} | 'Tag and signal name'

TagVisibility

Tag visibility

{'local'} | 'scoped' | 'global'

Goto Tag Visibility (GotoTagVisibility)

GotoTag

Goto tag

{'A'}

Index Vector (MultiPortSwitch)

DataPortOrder

Data port order

{'Zero-based contiguous'} | 'One-based contiguous' | 'Specify indices'

Inputs

Number of data ports

{'1'}

zeroidx

在 R2010a 中已弃用

 

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all data port inputs to have the same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

AllowDiffInputSizes

Allow different data input sizes (Results in variable-size output signal)

{'off'} | 'on'

Manual Switch (Manual Switch)(封装子系统)

varsize

Allow different input sizes (Results in variable-size output signal)

{'off'} | 'on'

SampleTime

Sample time (-1 for inherited)

{'-1'}

Merge (Merge)

Inputs

Number of inputs

{'2'}

InitialOutput

Initial output

{'[]'}

AllowUnequalInput
PortWidths

Allow unequal port widths

{'off'} | 'on'

InputPortOffsets

Input port offsets

{'[]'}

Multiport Switch (MultiPortSwitch)

DataPortOrder

Data port order

'Zero-based contiguous' | {'One-based contiguous'} | 'Specify indices'

Inputs

Number of data ports

{'3'}

zeroidx

在 R2010a 中已弃用

 

DataPortIndices

Data port indices

{'{1,2,3}'}

DataPortForDefault

Data port for default case

{'Last data port'} | 'Additional data port'

DiagnosticForDefault

Diagnostic for default case

'None' | 'Warning' | {'Error'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all data port inputs to have the same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

AllowDiffInputSizes

Allow different data input sizes (Results in variable-size output signal)

{'off'} | 'on'

Mux (Mux)

Inputs

Number of inputs

{'2'}

DisplayOption

Display option

'none' | 'signals' | {'bar'}

UseBusObject

供内部使用。

 

BusObject

供内部使用。

 

NonVirtualBus

供内部使用。

 

Selector (Selector)

NumberOfDimensions

Number of input dimensions

{'1'}

IndexMode

Index mode

'Zero-based' | {'One-based'}

IndexOptionArray

Index Option

'Select all' | {'Index vector (dialog)'} | 'Index vector (port)' | 'Starting index (dialog)' | 'Starting index (port)'

IndexParamArray

Index

元胞数组

OutputSizeArray

Output Size

元胞数组

InputPortWidth

Input port size

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

IndexOptions

有关详细信息,请参阅 IndexOptionArray 参数。

 

Indices

有关详细信息,请参阅 IndexParamArray 参数。

 

OutputSizes

有关详细信息,请参阅 IndexParamArray 参数。

 

Switch (Switch)

Criteria

Criteria for passing first input

{'u2 >= Threshold'} | 'u2 > Threshold' | 'u2 ~= 0'

Threshold

Threshold

{'0'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

InputSameDT

Require all data port inputs to have the same data type

{'off'} | 'on'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

SaturateOnInteger
Overflow

Saturate on integer overflow

{'off'} | 'on'

AllowDiffInputSizes

Allow different input sizes (Results in variable-size output signal)

{'off'} | 'on'

Variant Source (VariantSource)

VariantControls

Variant control

{'Variant'} | '(default)'

LabelModeActiveChoice

Label mode active choice

{''}

AllowZeroVariantControls

Allow zero active variant controls

{'off'} | 'on'

ShowConditionOnBlock

Show variant condition on block

{'off'} | 'on'

VariantActivationTime

Variant activation time

'update diagram' | 'update diagram analyze all choices' | 'code compile'

CompiledActiveVariantControl

 

string — {''}

如果没有处于活动状态的变体,则值为空字符串;否则,值为处于活动状态的变体的名称。在查询此属性之前先编译模型。

CompiledActiveVariantPort

 

string — {'-1'}

如果没有处于活动状态的变体,则值为 -1;否则,值为处于活动状态的变体的索引。在查询此属性之前先编译模型。

Variant Sink (VariantSink)

VariantControls

Variant control

{'Variant'} | '(default)'

LabelModeActiveChoice

Label mode active choice

{''}

AllowZeroVariantControls

Allow zero active variant controls

{'off'} | 'on'

ShowConditionOnBlock

Show variant condition on block

{'off'} | 'on'

VariantActivationTime

Variant activation time

'update diagram' | 'update diagram analyze all choices' | 'code compile'

CompiledActiveVariantControl

 

string — {''}

如果没有处于活动状态的变体,则值为空字符串;否则,值为处于活动状态的变体的名称。在查询此属性之前先编译模型。

CompiledActiveVariantPort

 

string — {'-1'}

如果没有处于活动状态的变体,则值为 -1;否则,值为处于活动状态的变体的索引。在查询此属性之前先编译模型。

Vector Concatenate (Concatenate)

NumInputs

Number of inputs

{'2'}

Mode

Mode

{'Vector'} | 'Multidimensional array'

Sinks 库模块参数

模块(类型)/参数对话框提示

Display (Display)

Numeric display format

Format

{'short'} | 'long' | 'short_e' | 'long_e' | 'bank' | 'hex (Stored Integer)' | 'binary (Stored Integer)' | 'decimal (Stored Integer)' | 'octal (Stored Integer)'

Decimation

Decimation

{'1'}

Floating

Floating display

{'off'} | 'on'

SampleTime

Sample time (-1 for inherited)

{'-1'}

Floating Scope (Scope)

Floating

 

'off' | {'on'}

Location

 

向量 - {'[376 294 700 533]'}

Open

 

{'off'} | 'on'

NumInputPorts

 

不要通过命令行更改此参数。要添加输入,请使用信号选择器按钮

TickLabels

 

'on' | 'off' | {'OneTimeTick'}

ZoomMode

 

{'on'} | 'xonly' | 'yonly'

AxesTitles

 

字符向量

Grid

 

'off' | {'on'} | 'xonly' | 'yonly'

TimeRange

 

{'auto'}

YMin

 

{'-5'}

YMax

 

{'5'}

SaveToWorkspace

 

{'off'} | 'on'

SaveName

 

{'ScopeData'}

DataFormat

 

{'StructureWithTime'} | 'Structure' | 'Array'

LimitDataPoints

 

'off' | {'on'}

MaxDataPoints

 

{'5000'}

Decimation

 

{'1'}

SampleInput

 

{'off'} | 'on'

SampleTime

 

{'0'}

Out1 (Outport)

Port

Port number

{'1'}

IconDisplay

Icon display

'Signal name' | {'Port number'} | 'Port number and signal name'

BusOutputAsStruct

Output as nonvirtual bus in parent model

{'off'} | 'on'

PortDimensions

Port dimensions (-1 for inherited)

{'-1'}

VarSizeSig

Variable-size signal

{'Inherit'} | 'No' | 'Yes'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>' | 'Bus: <object name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

SignalObject

此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)

Simulink.Signal 对象

派生于 Simulink.Signal 的类的对象

StorageClass

此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)

{'Auto'} | 'Model default' | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' | 'Custom'

SignalName

Signal name

字符向量

SignalType

Signal type

{'auto'} | 'real' | 'complex'

OutputWhenDisabled

Output when disabled

{'held'} | 'reset'

InitialOutput

Initial output

{'[]'}

MustResolveToSignalObject

此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅用于信号

{'off'} | 'on'

Scope (Scope)

Floating

 

{'off'} | 'on'

Location

 

向量 - {'[188 390 512 629]'}

Open

 

{'off'} | 'on'

NumInputPorts

 不要通过 set_param 命令更改此参数。在这种情况下,请使用 TimeScopeConfiguration 对象或 Scope 模块中的 Number of Input Ports 参数。

TickLabels

 

'on' | 'off' | {'OneTimeTick'}

ZoomMode

 

{'on'} | 'xonly' | 'yonly'

AxesTitles

 

字符向量

Grid

 

'off' | {'on'} | 'xonly' | 'yonly'

TimeRange

 

{'auto'}

YMin

 

{'-5'}

YMax

 

{'5'}

SaveToWorkspace

 

{'off'} | 'on'

SaveName

 

{'ScopeData1'}

DataFormat

 

{'StructureWithTime'} | 'Structure' | 'Array'

LimitDataPoints

 

'off' | {'on'}

MaxDataPoints

 

{'5000'}

Decimation

 

{'1'}

SampleInput

 

{'off'} | 'on'

SampleTime

 

{'0'}

Stop Simulation

Terminator

To File (ToFile)

FileName

File name

{'untitled.mat'}

MatrixName

Variable name

{'ans'}

SaveFormat

Save format

{'Timeseries'} | 'Array'

Decimation

Decimation

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

To Workspace (ToWorkspace)

VariableName

Variable name

{'simout'}

MaxDataPoints

Limit data points to last

{'inf'}

Decimation

Decimation

{'1'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

SaveFormat

Save format

{'Timeseries'} | 'Structure With Time' | 'Structure' | 'Array'

FixptAsFi

Log fixed-point data as an fi object

{'off'} | 'on'

XY Graph (XY scope)(封装子系统)

xmin

x-min

{'-1'}

xmax

x-max

{'1'}

ymin

y-min

{'-1'}

ymax

y-max

{'1'}

st

Sample time

{'-1'}

Sources 库模块参数

模块(类型)/参数

对话框提示

Band-Limited White Noise (Band-Limited White Noise)(封装子系统)

Cov

Noise power

{'[0.1]'}

Ts

Sample time

{'0.1'}

seed

Seed

{'[23341]'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Chirp Signal (chirp)(封装子系统)

f1

Initial frequency

{'0.1'}

T

Target time

{'100'}

f2

Frequency at target time

{'1'}

VectorParams1D

Interpret vectors parameters as 1-D

'off' | {'on'}

Clock (Clock)

DisplayTime

Display time

{'off'} | 'on'

Decimation

Decimation

{'10'}

Constant (Constant)

Value

Constant value

{'1'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

SampleTime

Sampling time

{'Sample based'} | 'Frame based'

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

{'Inherit: Inherit from 'Constant value''} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

SampleTime

Sample time

{'inf'}

FramePeriod

Frame period

{'inf'}

Counter Free-Running (Counter Free-Running)(封装子系统)

NumBits

Number of Bits

{'16'}

tsamp

Sample time

{'-1'}

Counter Limited (Counter Limited)(封装子系统)

uplimit

Upper limit

{'7'}

tsamp

Sample time

{'-1'}

Digital Clock (DigitalClock)

SampleTime

Sample time

{'1'}

Enumerated Constant (EnumeratedConstant)

OutDataTypeStr

Output data type

{'Enum: SlDemoSign'}

Value

Value

{'SlDemoSign.Positive'} | 'SlDemoSign.Zero' | 'SlDemoSign.Negative'

SampleTime

Sample time

{'inf'}

From File (FromFile)

FileName

File name

{'untitled.mat'}

ExtrapolationBeforeFirstDataPoint

Data extrapolation before first data point

{'Linear extrapolation'} | 'Hold first value' | 'Ground value'

InterpolationWithinTimeRange

Data interpolation within time range

{'Linear interpolation'} | 'Zero order hold'

ExtrapolationAfterLastDataPoint

Data extrapolation after last data point

{'Linear extrapolation'} | 'Hold last value' | 'Ground value'

SampleTime

Sample time

{'0'}

From Workspace (FromWorkspace)

VariableName

Data

{'simin'}

OutDataTypeStr

Output Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>' | 'Bus: <object name>'

SampleTime

Sample time

{'0'}

Interpolate

Interpolate data

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

OutputAfterFinalValue

Form output after final data value by

{'Extrapolation'} | 'Setting to zero' | 'Holding final value' | 'Cyclic repetition'

Ground

In1 (Inport)

Port

Port number

{'1'}

IconDisplay

Icon display

'Signal name' | {'Port number'} | 'Port number and signal name'

BusOutputAsStruct

Output as nonvirtual bus

{'off'} | 'on'

PortDimensions

Port dimensions (-1 for inherited)

{'-1'}

VarSizeSig

Variable-size signal

{'Inherit'} | 'No' | 'Yes'

SampleTime

Sample time (-1 for inherited)

{'-1'}

OutMin

Minimum

{'[]'}

OutMax

Maximum

{'[]'}

OutDataTypeStr

Data type

{'Inherit: auto'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>' | 'Bus: <object name>'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

Unit

指定模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

{'inherit'}| '<Enter unit>'

UnitNoProp

指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位

'<Enter unit>'

SignalType

Signal type

{'auto'} | 'real' | 'complex'

LatchByDelaying
OutsideSignal

Latch input by delaying outside signal

{'off'} | 'on'

LatchInputFor
FeedbackSignals

Latch input for feedback signals of function-call subsystem outputs

{'off'} | 'on'

OutputFunctionCall

Output a function-call trigger signal

{'off'} | 'on'

Interpolate

Interpolate data

'off' | {'on'}

Pulse Generator (DiscretePulseGenerator)

PulseType

Pulse type

{'Time based'} | 'Sample based'

TimeSource

Time (t)

{'Use simulation time'} | 'Use external signal'

Amplitude

Amplitude

{'1'}

Period

Period

{'10'}

PulseWidth

Pulse width

{'5'}

PhaseDelay

Phase delay

{'0'}

SampleTime

Sample time

{'1'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Ramp (Ramp)(封装子系统)

slope

Slope

{'1'}

start

Start time

{'0'}

InitialOutput

Initial output

{'0'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Random Number (RandomNumber)

Mean

Mean

{'0'}

Variance

Variance

{'1'}

Seed

Seed

{'0'}

SampleTime

Sample time

{'0.1'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Repeating Sequence (Repeating table)(封装子系统)

rep_seq_t

Time values

{'[0 2]'}

rep_seq_y

Output values

{'[0 2]'}

Repeating Sequence Interpolated (Repeating Sequence Interpolated)(封装子系统)

OutValues

Vector of output values

{'[3 1 4 2 1].''}

TimeValues

Vector of time values

{'[0 0.1 0.5 0.6 1].''}

LookUpMeth

Lookup Method

{'Interpolation-Use End Values'} | 'Use Input Nearest' | 'Use Input Below' | 'Use Input Above'

tsamp

Sample time

{'0.01'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via back propagation' | {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

OutputDataTypeScaling
Mode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

 

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

Repeating Sequence Stair (Repeating Sequence Stair)(封装子系统)

OutValues

Vector of output values

{'[3 1 4 2 1].''}

tsamp

Sample time

{'-1'}

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via back propagation' | {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' | 'Enum: <class name>'

OutputDataTypeScaling
Mode

在 R2007b 中已弃用

 

OutDataType

在 R2007b 中已弃用

 

ConRadixGroup

在 R2007b 中已弃用

 

OutScaling

在 R2007b 中已弃用

 

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

Signal Builder (Sigbuilder block)(封装子系统)

Signal Editor (SignalEditor)

Filename

File name

{'untitled.mat'}

ActiveScenario

Active scenario

{'Scenario'}

ActiveSignal

Signals

{'Signal 1'}

IsBus

Output a bus signal

'on' | {'off'}

OutputBusObjectStr

Select bus object

{'Bus: BusObject'}

SampleTIme

Sample time

{'0'}

Interpolate

Interpolate data

{'off'} | 'on'

ZeroCross

Enable zero-crossing detection

{'off'} | 'on'

OutputAfterFinalValue

Form output after final data value by

{'Setting to zero'} | 'Extrapolation' | 'Holding final value'

Unit

Unit

{'inherit'}

PreserveSignalName

布尔值 - {'off'} | 'on'

NumberOfScenarios

只读。使用 get_param 获得此值。

NumberOfSignals

只读。使用 get_param 获得此值。

Signal Generator (SignalGenerator)

WaveForm

Wave form

{'sine'} | 'square' | 'sawtooth' | 'random'

TimeSource

Time (t)

{'Use simulation time'} | 'Use external signal'

Amplitude

Amplitude

{'1'}

Frequency

Frequency

{'1'}

Units

Units

'rad/sec' | {'Hertz'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Sine Wave (Sin)

SineType

Sine type

{'Time based'} | 'Sample based'

TimeSource

Time

{'Use simulation time'} | 'Use external signal'

Amplitude

Amplitude

{'1'}

Bias

Bias

{'0'}

Frequency

Frequency

{'1'}

Phase

Phase

{'0'}

Samples

Samples per period

{'10'}

Offset

Number of offset samples

{'0'}

SampleTime

Sample time

{'0'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Step (Step)

Time

Step time

{'1'}

Before

Initial value

{'0'}

After

Final value

{'1'}

SampleTime

Sample time

{'0'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

ZeroCross

Enable zero-crossing detection

'off' | {'on'}

Uniform Random Number (UniformRandomNumber)

Minimum

Minimum

{'-1'}

Maximum

Maximum

{'1'}

Seed

Seed

{'0'}

SampleTime

Sample time

{'0.1'}

VectorParams1D

Interpret vector parameters as 1-D

'off' | {'on'}

Waveform Generator (WaveformGenerator)

OutMin

Output minimum

{'[]'}

OutMax

Output maximum

{'[]'}

OutDataTypeStr

Output data type

'Inherit: Inherit via back propagation' | {'Inherit: Inherit from table data'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'int64' | 'uint64' | 'boolean' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)'

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | 'Floor' | {'Nearest'} | 'Round' | 'Simplest' | 'Zero'

SaturateOnIntegerOverflow

Saturate on integer overflow

{'off'} | 'on'

SelectedSignal

Output signal

{'1'}

SampleTime

Sample time

{'0'}

String 库模块参数

模块(类型)/参数

对话框提示

Compose String (Compose String)

Format

Format

标量

{""%d %f""}| ""%d"" | ""%i"" | ""%o"" | ""%x"" | ""%X"" | ""%f"" | ""%e"" | ""%E"" | ""%g"" | ""%G"" | ""%s"" | 可选操作符和文本

OutDataTypeStr

Output data type

{"stringtype(255)"} | "stringtype(N)" | "string"

Scan String (Scan String)

Format

Format

标量

{""%d %f""}| ""%d"" | ""%i"" | ""%o"" | ""%x"" | ""%X"" | ""%f"" | ""%e"" | ""%E"" | ""%g"" | ""%G"" | ""%s"" | 可选操作符和文本

String Compare (String Compare)

CaseSensitive

字符串比较区分大小写

'off' | {'on'}

CompareOption

要比较的字符量

{"Entire string"} | "First N characters"

NumberOfCharacters

要比较的字符数

{'1'} | 标量

String Concatenate (String Concatenate)

Inputs

Number of inputs

{"2"}

OutDataTypeStr

Output data type

{"stringtype(128)"} | "stringtype(N)" | "string"

String Constant (String Constant)

String

String

{"Hello!"} | 标量

OutDataTypeStr

Output data type

{"stringtype(128)"} | "stringtype(N)" | "string"

String to ASCII (String to ASCII)

OutputVectorSize

Output vector size

{"31"} | 标量

String to Double (String to Double)

Format

Format

标量

{""%d %f""}| ""%d"" | ""%i"" | ""%o"" | ""%x"" | ""%X"" | ""%f"" | ""%e"" | ""%E"" | ""%g"" | ""%G"" | ""%s"" | 可选操作符和文本

String to Enum (String to Enum)

OutDataTypeStr

Output data type

{"Enum: SlDemoSign"} | <data type expression>

String to Single (String to Single)

Format

Format

标量

{""%f""}| ""%d"" | ""%i"" | ""%o"" | ""%x"" | ""%X"" | ""%f"" | ""%e"" | ""%E"" | ""%g"" | ""%G"" | ""%s"" | 可选操作符和文本

Substring (Substring)

InheritMaximumLength

Inherit maximum length from input

'off' | {'on'}

OutDataTypeStr

Output data type

{"stringtype(31)"} | "stringtype(N)" | "string"

StringFromIdxToEnd

Output string from 'idx' to end

{'off'} | 'on'

User-Defined Functions 库模块参数

模块(类型)/参数

对话框提示

MATLAB Function (Stateflow)(封装子系统)

MATLAB System (MATLABSystem)

System

System object class name

{''}

Level-2 MATLAB S-Function (M-S-Function)

FunctionName

S-function name

{'mlfile'}

Parameters

Arguments

{''}

Interpreted MATLAB Function (MATLABFcn)

MATLABFcn

MATLAB function

{'sin'}

OutputDimensions

Output dimensions

{'-1'}

OutputSignalType

Output signal type

{'auto'} | 'real' | 'complex'

Output1D

Collapse 2-D results to 1-D

'off' | {'on'}

SampleTime

Sample time (-1 for inherited)

{'-1'}

S-Function (S-Function)

FunctionName

S-function name

{'system'}

Parameters

S-function parameters

{''}

SFunctionModules

S-function modules

{''}

S-Function Builder (S-Function Builder)(封装子系统)

FunctionName

S-function name

{'system'}

Parameters

S-function parameters

{''}

SFunctionModules

S-function modules

{''}

Additional Discrete 库模块参数

模块(类型)/参数

对话框提示

Fixed-Point State-Space (Fixed-Point State-Space)(封装子系统)

A

State Matrix A

{'[2.6020 -2.2793 0.6708; 1 0 0; 0 1 0]'}

B

Input Matrix B

{'[ 1; 0; 0]'}

C

Output Matrix C

{'[0.0184 0.0024 0.0055]'}

D

Direct Feedthrough Matrix D

{'[0.0033]'}

InitialCondition

Initial condition for state

{'0.0'}

InternalDataType

Data type for internal calculations

{'fixdt('double')'}

StateEqScaling

Scaling for State Equation AX+BU

{'2^0'}

OutputEqScaling

Scaling for Output Equation CX+DU

{'2^0'}

LockScale

Lock output data type setting against changes by the fixed-point tools

{'off'} | 'on'

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Transfer Fcn Direct Form II (Transfer Fcn Direct Form II)(封装子系统)

NumCoefVec

Numerator coefficients

{'[0.2 0.3 0.2]'}

DenCoefVec

Denominator coefficients excluding lead (which must be 1.0)

{'[-0.9 0.6]'}

vinit

Initial condition

{'0.0'}

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Transfer Fcn Direct Form II Time Varying (Transfer Fcn Direct Form II Time Varying)(封装子系统)

vinit

Initial condition

{'0.0'}

RndMeth

Integer rounding mode

'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero'

DoSatur

Saturate to max or min when overflows occur

{'off'} | 'on'

Unit Delay Enabled (Unit Delay Enabled)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay Enabled External IC (Unit Delay Enabled External Initial Condition)(封装子系统)

tsamp

Sample time

{'-1'}

Unit Delay Enabled Resettable (Unit Delay Enabled Resettable)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay Enabled Resettable External IC (Unit Delay Enabled Resettable External Initial Condition)(封装子系统)

tsamp

Sample time

{'-1'}

Unit Delay External IC (Unit Delay External Initial Condition)(封装子系统)

tsamp

Sample time

{'-1'}

Unit Delay Resettable (Unit Delay Resettable)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay Resettable External IC (Unit Delay Resettable External Initial Condition)(封装子系统)

tsamp

Sample time

{'-1'}

Unit Delay With Preview Enabled (Unit Delay With Preview Enabled)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay With Preview Enabled Resettable (Unit Delay With Preview Enabled Resettable)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay With Preview Enabled Resettable External RV (Unit Delay With Preview Enabled Resettable External RV)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay With Preview Resettable (Unit Delay With Preview Resettable)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Unit Delay With Preview Resettable External RV (Unit Delay With Preview Resettable External RV)(封装子系统)

vinit

Initial condition

{'0.0'}

tsamp

Sample time

{'-1'}

Additional Math:Increment - Decrement 库模块参数

模块(类型)/参数

对话框提示

Decrement Real World (Real World Value Decrement)(封装子系统)

Decrement Stored Integer (Stored Integer Value Decrement)(封装子系统)

Decrement Time To Zero (Decrement Time To Zero)(封装子系统)

Decrement To Zero (Decrement To Zero)(封装子系统)

Increment Real World (Real World Value Increment)(封装子系统)

Increment Stored Integer (Stored Integer Value Increment)(封装子系统)