| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
These tables list block-specific parameters for all Simulink blocks. The type of the block appears in parentheses after the block name. Some Simulink blocks work as masked subsystems. The tables indicate masked blocks by adding the designation "masked subsystem" after the block type.
Note The type listed for nonmasked blocks is the value of the BlockType parameter (see Common Block Parameters). The type listed for masked blocks is the value of the MaskType parameter (see Mask Parameters). |
The Dialog Box Prompt column indicates the text of the prompt for the parameter on the block dialog box. The Values column shows the type of value required (scalar, vector, variable), the possible values (separated with a vertical line), and the default value (enclosed in braces).
Continuous Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Derivative (Derivative) | ||
LinearizePole | Linearization Time Constant s/(Ns + 1) | string — {'inf'} |
Integrator (Integrator) | ||
ExternalReset | External reset | string — {'none'} | 'rising' | 'falling' | 'either' | 'level' | 'level hold' |
InitialConditionSource | Initial condition source | string — {'internal'} | 'external' |
InitialCondition | Initial condition | scalar or vector — {'0'} |
LimitOutput | Limit output | string — {'off'} | 'on' |
UpperSaturationLimit | Upper saturation limit | scalar or vector — {'inf'} |
LowerSaturationLimit | Lower saturation limit | scalar or vector — {'-inf'} |
ShowSaturationPort | Show saturation port | string — {'off'} | 'on' |
ShowStatePort | Show state port | string — {'off'} | 'on' |
AbsoluteTolerance | Absolute tolerance | scalar — {'auto'} |
IgnoreLimit | Ignore limit and reset when linearizing | string — {'off'} | 'on' |
ZeroCross | Enable zero–crossing detection | string — 'off' | {'on'} |
ContinuousStateAttributes | State Name | string — {''} | variable |
State-Space (StateSpace) | ||
A | A | matrix — {'1'} |
B | B | matrix — {'1'} |
C | C | matrix — {'1'} |
D | D | matrix — {'1'} |
X0 | Initial conditions | vector — {'0'} |
AbsoluteTolerance | Absolute tolerance | scalar — {'auto'} |
ContinuousStateAttributes | State Name | string — {''} | variable |
Transfer Fcn (TransferFcn) | ||
Numerator | Numerator coefficients | vector or matrix — {'[1]'} |
Denominator | Denominator coefficients | vector — {'[1 1]'} |
AbsoluteTolerance | Absolute tolerance | scalar — {'auto'} |
ContinuousStateAttributes | State Name | string — {''} | variable |
Transport Delay (TransportDelay) | ||
DelayTime | Time delay | scalar or vector — {'1'} |
InitialOutput | Initial output | scalar or vector — {'0'} |
BufferSize | Initial buffer size | scalar — {'1024'} |
FixedBuffer | Use fixed buffer size | string — {'off'} | 'on' |
TransDelayFeedthrough | Direct feedthrough of input during linearization | string — {'off'} | 'on' |
PadeOrder | Pade order (for linearization) | string — {'0'} |
Variable Time Delay (VariableTimeDelay) | ||
VariableDelayType | Select delay type | string — 'Variable transport delay' | {'Variable time delay'} |
MaximumDelay | Maximum delay | scalar or vector — {'10'} |
InitialOutput | Initial output | scalar or vector — {'0'} |
MaximumPoints | Initial buffer size | scalar — {'1024'} |
FixedBuffer | Use fixed buffer size | string — {'off'} | 'on' |
ZeroDelay | Handle zero delay | string — {'off'} | 'on' |
TransDelayFeedthrough | Direct feedthrough of input during linearization | string — {'off'} | 'on' |
PadeOrder | Pade order (for linearization) | string — {'0'} |
ContinuousStateAttributes | State Name | string — {''} | variable |
Variable Transport Delay (VariableTransportDelay) | ||
VariableDelayType | Select delay type | string — {'Variable transport delay'} | 'Variable time delay' |
MaximumDelay | Maximum delay | scalar or vector — {'10'} |
InitialOutput | Initial output | scalar or vector — {'0'} |
MaximumPoints | Initial buffer size | scalar — {'1024'} |
FixedBuffer | Use fixed buffer size | string — {'off'} | 'on' |
TransDelayFeedthrough | Direct feedthrough of input during linearization | string — {'off'} | 'on' |
PadeOrder | Pade order (for linearization) | string — {'0'} |
AbsoluteTolerance | Absolute tolerance | scalar — {'auto'} |
ContinuousStateAttributes | State Name | string — {''} | variable |
Zero-Pole (ZeroPole) | ||
Zeros | Zeros | vector — {'[1]'} |
Poles | Poles | vector — {'[0 -1]'} |
Gain | Gain | vector — {'[1]'} |
AbsoluteTolerance | Absolute tolerance | scalar — {'auto'} |
ContinuousStateAttributes | State Name | string — {''} | variable |
Discontinuities Library Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Backlash (Backlash) | ||
BacklashWidth | Deadband width | scalar or vector — {'1'} |
InitialOutput | Initial output | scalar or vector — {'0'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Coulomb & Viscous Friction (Coulombic and Viscous Friction) (masked subsystem) | ||
offset | Coulomb friction value (Offset) | string — {'[1 3 2 0]'} |
gain | Coefficient of viscous friction (Gain) | string — {'1'} |
Dead Zone (DeadZone) | ||
LowerValue | Start of dead zone | scalar or vector — {'-0.5'} |
UpperValue | End of dead zone | scalar or vector — {'0.5'} |
SaturateOnInteger | Saturate on integer overflow | string — 'off' | {'on'} |
LinearizeAsGain | Treat as gain when linearizing | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Dead Zone Dynamic (Dead Zone Dynamic) (masked subsystem) | ||
Hit Crossing (HitCross) | ||
HitCrossingOffset | Hit crossing offset | scalar or vector — {'0'} |
HitCrossingDirection | Hit crossing direction | string — 'rising' | 'falling' | {'either'} |
ShowOutputPort | Show output port | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Quantizer (Quantizer) | ||
QuantizationInterval | Quantization interval | scalar or vector — {'0.5'} |
LinearizeAsGain | Treat as gain when linearizing | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Rate Limiter (RateLimiter) | ||
RisingSlewLimit | Rising slew rate | string — {'1'} |
FallingSlewLimit | Falling slew rate | string — {'-1'} |
SampleTimeMode | Sample time mode | string — 'continuous' | {'inherited'} |
InitialCondition | Initial condition | string — {'0'} |
LinearizeAsGain | Treat as gain when linearizing | string — 'off' | {'on'} |
Rate Limiter Dynamic (Rate Limiter Dynamic) (masked subsystem) | ||
Relay (Relay) | ||
OnSwitchValue | Switch on point | string — {'eps'} |
OffSwitchValue | Switch off point | string — {'eps'} |
OnOutputValue | Output when on | string — {'1'} |
OffOutputValue | Output when off | string — {'0'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — '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)' |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
Saturation (Saturate) | ||
UpperLimit | Upper limit | scalar or vector — {'0.5'} |
LowerLimit | Lower limit | scalar or vector — {'-0.5'} |
LinearizeAsGain | Treat as gain when linearizing | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via back propagation' | {'Inherit: Same as input'} | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
Saturation Dynamic (Saturation Dynamic) (masked subsystem) | ||
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Same as second input'} | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate on integer overflow | string — {'off'} | 'on' |
Wrap To Zero (Wrap To Zero) (masked subsystem) | ||
Threshold | Threshold | string — {'255'} |
Discrete Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Difference (Difference) (masked subsystem) | ||
ICPrevInput | Initial condition for previous input | string — {'0.0'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Discrete Derivative (Discrete Derivative) (masked subsystem) | ||
gainval | Gain value | string — {'1.0'} |
ICPrevScaledInput | Initial condition for previous weighted input K*u/Ts | string — {'0.0'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Discrete FIR Filter (Discrete FIR Filter) | ||
CoefSource | Coefficient source | string — {'Dialog parameters'} | 'Input port' |
FirFiltStruct | Filter structure | string — {'Direct form'} | 'Direct form symmetric' | 'Direct form antisymmetric' | 'Direct form transposed' | 'Lattice MA' |
NumCoeffs | Numerator coefficients | vector — {'[0.5 0.5]'} |
IC | Initial states | scalar or vector — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
CoefMin | Coefficient minimum | string — {'[]'} |
CoefMax | Coefficient maximum | string — {'[]'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
CoefDataTypeStr | Coefficient data type | string — {'Inherit: Same word length as input'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' |
ProductDataTypeStr | Product output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' |
AccumDataTypeStr | Accumulator data type | string — 'Inherit: Same as input' | {'Inherit: Same as product output'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' |
OutDataTypeStr | Output data type | string — 'Inherit: Same as input' | {'Inherit: Same as accumulator'} | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Discrete Filter (DiscreteFilter) | ||
Numerator | Numerator coefficients | vector — {'[1]'} |
Denominator | Denominator coefficients | vector — {'[1 0.5]'} |
IC | Initial states | string — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'1'} |
a0EqualsOne | Optimize by skipping divide by leading denominator coefficient (a0) | string — {'off'} | 'on' |
NumCoefMin | Numerator coefficient minimum | string — {'[]'} |
NumCoefMax | Numerator coefficient maximum | string — {'[]'} |
DenCoefMin | Denominator coefficient minimum | string — {'[]'} |
DenCoefMax | Denominator coefficient maximum | string — {'[]'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
StateDataTypeStr | State data type | string — {'Inherit: Same as input'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
NumCoefDataTypeStr | Numerator coefficient data type | string — {'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' |
DenCoefDataTypeStr | Denominator coefficient data type | string — {'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' |
NumProductDataTypeStr | Numerator product output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
DenProductDataTypeStr | Denominator product output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
NumAccumDataTypeStr | Numerator accumulator data type | string — {'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 | string — {'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 | string — {'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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnIntegerOverflow | Saturate on integer overflow | string — {'off'} | 'on' |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
Discrete State-Space (DiscreteStateSpace) | ||
A | A | matrix — {'1'} |
B | B | matrix — {'1'} |
C | C | matrix — {'1'} |
D | D | matrix — {'1'} |
X0 | Initial conditions | vector — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'1'} |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
Discrete Transfer Fcn (DiscreteTransferFcn) | ||
| Numerator | Numerator coefficients | vector — {'[1]'} |
Denominator | Denominator coefficients | vector — {'[1 0.5]'} |
InitialStates | Initial states | string — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'1'} |
a0EqualsOne | Optimize by skipping divide by leading denominator coefficient (a0) | string — {'off'} | 'on' |
NumCoefMin | Numerator coefficient minimum | string — {'[]'} |
NumCoefMax | Numerator coefficient maximum | string — {'[]'} |
DenCoefMin | Denominator coefficient minimum | string — {'[]'} |
DenCoefMax | Denominator coefficient maximum | string — {'[]'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
StateDataTypeStr | State data type | string — {'Inherit: Same as input'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
NumCoefDataTypeStr | Numerator coefficient data type | string — {'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
DenCoefDataTypeStr | Denominator coefficient data type | string — {'Inherit: Inherit via internal rule'} | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
NumProductDataTypeStr | Numerator product output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
DenProductDataTypeStr | Denominator product output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | 'int8' | 'int16' | 'int32' | 'fixdt(1,16,0)' |
NumAccumDataTypeStr | Numerator accumulator data type | string — {'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 | string — {'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 | string — {'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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
Discrete Zero-Pole (DiscreteZeroPole) | ||
Zeros | Zeros | vector — {'[1]'} |
Poles | Poles | vector — {'[0 0.5]'} |
Gain | Gain | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'1'} |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
Discrete-Time Integrator (DiscreteIntegrator) | ||
IntegratorMethod | Integrator method | string — {'Integration: Forward Euler'} | 'Integration: Backward Euler' | 'Integration: Trapezoidal' | 'Accumulation: Forward Euler' | 'Accumulation: Backward Euler' | 'Accumulation: Trapezoidal' |
gainval | Gain value | string — {'1.0'} |
ExternalReset | External reset | string — {'none'} | 'rising' | 'falling' | 'either' | 'level' | 'sampled level' |
InitialConditionSource | Initial condition source | string — {'internal'} | 'external' |
InitialCondition | Initial condition | scalar or vector — {'0'} |
InitialConditionMode | Use initial condition as initial and reset value for | string — 'State only (most efficient)' | {'State and output'} |
SampleTime | Sample time (-1 for inherited) | string — {'1'} |
LimitOutput | Limit output | string — {'off'} | 'on' |
UpperSaturationLimit | Upper saturation limit | scalar or vector — {'inf'} |
LowerSaturationLimit | Lower saturation limit | scalar or vector — {'-inf'} |
ShowSaturationPort | Show saturation port | string — {'off'} | 'on' |
ShowStatePort | Show state port | string — {'off'} | 'on' |
IgnoreLimit | Ignore limit and reset when linearizing | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
First-Order Hold (First-Order Hold) (masked subsystem) | ||
Ts | Sample time | string — {'1'} |
Integer Delay (S-Function) (Integer Delay) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
samptime | Sample time | string — {'-1'} |
NumDelays | Number of delays | string — {'4'} |
Memory (Memory) | ||
X0 | Initial condition | scalar or vector — {'0'} |
InheritSampleTime | Inherit sample time | string — {'off'} | 'on' |
LinearizeMemory | Direct feedthrough of input during linearization | string — {'off'} | 'on' |
LinearizeAsDelay | Treat as a unit delay when linearizing with discrete sample time | string — {'off'} | 'on' |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
Tapped Delay (S-Function) (Tapped Delay Line) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
samptime | Sample time | string — {'-1'} |
NumDelays | Number of delays | string — {'4'} |
DelayOrder | Order output vector starting with | string — {'Oldest'} | 'Newest' |
includeCurrent | Include current input in output vector | string — {'off'} | 'on' |
Transfer Fcn First Order (First Order Transfer Fcn) (masked subsystem) | ||
PoleZ | Pole (in Z plane) | string — {'0.95'} |
ICPrevOutput | Initial condition for previous output | string — {'0.0'} |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Transfer Fcn Lead or Lag (Lead or Lag Compensator) (masked subsystem) | ||
PoleZ | Pole of compensator (in Z plane) | string — {'0.95'} |
ZeroZ | Zero of compensator (in Z plane) | string — {'0.75'} |
ICPrevOutput | Initial condition for previous output | string — {'0.0'} |
ICPrevInput | Initial condition for previous input | string — {'0.0'} |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Transfer Fcn Real Zero (Transfer Fcn Real Zero) (masked subsystem) | ||
ZeroZ | Zero (in Z plane) | string — {'0.75'} |
ICPrevInput | Initial condition for previous input | string — {'0.0'} |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Unit Delay (UnitDelay) | ||
X0 | Initial conditions | scalar or vector — {'0'} |
SampleTime | Sample time | string — {'-1'} |
StateIdentifier | State name | string — {''} |
StateMustResolveTo | State name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop storage type qualifier | string — {''} |
Zero-Order Hold (ZeroOrderHold) | ||
SampleTime | Sample time (-1 for inherited) | string — {'1'} |
Logic and Bit Operations Library Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Bit Clear (Bit Clear) (masked subsystem) | ||
iBit | Index of bit (0 is least significant) | string — {'0'} |
Bit Set (Bit Set) (masked subsystem) | ||
iBit | Index of bit (0 is least significant) | string — {'0'} |
Bitwise Operator (S-Function) (Bitwise Operator) (masked subsystem) | ||
logicop | Operator | string — {'AND'} | 'OR' | 'NAND' | 'NOR' | 'XOR' | 'NOT' |
UseBitMask | Use bit mask ... | string — 'off' | {'on'} |
NumInputPorts | Number of input ports | string — {'1'} |
BitMask | Bit Mask | string — {'bin2dec('11011001')'} |
BitMaskRealWorld | Treat mask as | string — 'Real World Value' | {'Stored Integer'} |
Combinatorial Logic (CombinatorialLogic) | ||
TruthTable | Truth table | string — {'[0 0;0 1;0 1;1 0;0 1;1 0;1 0;1 1]'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Compare To Constant (Compare To Constant) (masked subsystem) | ||
relop | Operator | string — '==' | '~=' | '<' | {'<='} | '>=' | '>' |
const | Constant value | string — {'3.0'} |
LogicOutDataTypeMode | Output data type mode | string — {'uint8'} | 'boolean' |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
Compare To Zero (Compare To Zero) (masked subsystem) | ||
relop | Operator | string — '==' | '~=' | '<' | {'<='} | '>=' | '>' |
LogicOutDataTypeMode | Output data type mode | string — {'uint8'} | 'boolean' |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
Detect Change (Detect Change) (masked subsystem) | ||
vinit | Initial condition | string — {'0'} |
Detect Decrease (Detect Decrease) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
Detect Fall Negative (Detect Fall Negative) (masked subsystem) | ||
vinit | Initial condition | string — {'0'} |
Detect Fall Nonpositive (Detect Fall Nonpositive) (masked subsystem) | ||
vinit | Initial condition | string — {'0'} |
Detect Increase (Detect Increase) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
Detect Rise Nonnegative (Detect Rise Nonnegative) (masked subsystem) | ||
vinit | Initial condition | string — {'0'} |
Detect Rise Positive (Detect Rise Positive) (masked subsystem) | ||
vinit | Initial condition | string — {'0'} |
Extract Bits (Extract Bits) (masked subsystem) | ||
bitsToExtract | Bits to extract | string — {'Upper half'} | 'Lower half' | 'Range starting with most significant bit' | 'Range ending with least significant bit' | 'Range of bits' |
numBits | Number of bits | string — {'8'} |
bitIdxRange | Bit indices ([start end], 0-based relative to LSB) | string — {'[0 7]'} |
outScalingMode | Output scaling mode | string — {'Preserve fixed-point scaling'} | 'Treat bit field as an integer' |
Interval Test (Interval Test) (masked subsystem) | ||
IntervalClosedRight | Interval closed on right | string — 'off' | {'on'} |
uplimit | Upper limit | string — {'0.5'} |
IntervalClosedLeft | Interval closed on left | string — 'off' | {'on'} |
lowlimit | Lower limit | string — {'-0.5'} |
LogicOutDataTypeMode | Output data type mode | string — 'uint8' | {'boolean'} |
Interval Test Dynamic (Interval Test Dynamic) (masked subsystem) | ||
IntervalClosedRight | Interval closed on right | string — 'off' | {'on'} |
IntervalClosedLeft | Interval closed on left | string — 'off' | {'on'} |
LogicOutDataTypeMode | Output data type mode | string — 'uint8' | {'boolean'} |
Logical Operator (Logic) | ||
Operator | Operator | string — {'AND'} | 'OR' | 'NAND' | 'NOR' | 'XOR' | 'NXOR' | 'NOT' |
Inputs | Number of input ports | string — {'2'} |
IconShape | Icon shape | string — {'rectangular'} | 'distinctive' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
AllPortsSameDT | Require all inputs and output to have the same data type | string — {'off'} | 'on' |
OutDataTypeStr | Output data type | string — 'Inherit: Logical (see Configuration Parameters: Optimization)' | {'boolean'} | 'fixdt(1,16)' |
Relational Operator (RelationalOperator) | ||
Operator | Relational operator | string — '==' | '~=' | '<' | {'<='} | '>=' | '>' | 'isInf' | 'isNaN' | 'isFinite' |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
OutDataTypeStr | Output data type | string — 'Inherit: Logical (see Configuration Parameters: Optimization)' | {'boolean'} | 'fixdt(1,16)' |
Shift Arithmetic (Shift Arithmetic) (masked subsystem) | ||
nBitShiftRight | Number of bits to shift right (use negative value to shift left) | string — {'8'} |
nBinPtShiftRight | Number of places by which binary point shifts right (use negative value to shift left) | string — {'0'} |
Lookup Tables Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Cosine (Cosine) (masked subsystem) | ||
Formula | Output formula | string — '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 | string — {'(2^5)+1'} |
OutputWordLength | Output word length | string — {'16'} |
Direct Lookup Table (n-D) (LookupNDDirect) | ||
NumberOfTableDimensions | Number of table dimensions | string — '1' | {'2'} | '3' | '4' |
InputsSelectThisObjectFromTable | Inputs select this object from table | string — {'Element'} | 'Column' | '2-D Matrix' |
TableIsInput | Make table an input | string — {'off'} | 'on' |
Table | Table data | string — {'[4 5 6;16 19 20;10 18 23]'} |
ActionForOutOfRangeInput | Action for out-of-range input | string — 'None' | {'Warning'} | 'Error' |
SampleTime | Sample time | string — {'-1'} |
maskTabDims | Deprecated | |
explicitNumDims | Deprecated | |
outDims | Deprecated | |
tabIsInput | Deprecated | |
mxTable | Deprecated | |
clipFlag | Deprecated | |
samptime | Deprecated | |
Interpolation Using Prelookup (Interpolation_n-D) | ||
NumberOfTableDimensions | Number of table dimensions | string — '1' | {'2'} | '3' | '4' |
Table | Table data | string — {'sqrt([1:11]' * [1:11])'} |
InterpMethod | Interpolation method | string — 'None - Flat' | {'Linear'} |
ExtrapMethod | Extrapolation method | string — 'None - Clip' | {'Linear'} |
RangeErrorMode | Action for out-of-range input | string — {'None'} | 'Warning' | 'Error' |
CheckIndexInCode | Check index in generated code | string — 'off' | {'on'} |
ValidIndexMayReachLast | Valid index input may reach last index | string — {'off'} | 'on' |
NumSelectionDims | Number of sub-table selection dimensions | string — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — '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)' |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnIntegerOverflow | Saturate on integer overflow | string — {'off'} | 'on' |
TableMin | Table minimum | string — {'[]'} |
TableMax | Table maximum | string — {'[]'} |
TableDataTypeStr | Table data type | string — '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)' |
IntermediateResultsDataTypeStr | Intermediate results data type | string — {'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)' |
Lookup Table (Lookup) | ||
InputValues | Vector of input values | vector — {'[-5:5]'} |
Table | Table data | vector — {'tanh([-5:5])'} |
LookUpMeth | Lookup method | string — {'Interpolation-Extrapolation'} | 'Interpolation-Use End Values' | 'Use Input Nearest' | 'Use Input Below' | 'Use Input Above' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via back propagation' | {'Inherit: Same as input'} | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Lookup Table (2-D) (Lookup2D) | ||
RowIndex | Row index input values | string — {'[1:3]'} |
ColumnIndex | Column index input values | string — {'[1:3]'} |
Table | Table data | string — {'[4 5 6;16 19 20;10 18 23]'} |
LookUpMeth | Lookup method | string — {'Interpolation-Extrapolation'} | 'Interpolation-Use End Values' | 'Use Input Nearest' | 'Use Input Below' | 'Use Input Above' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via back propagation' | {'Inherit: Same as first input'} | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Lookup Table (n-D) (Lookup_n-D)) | ||
NumberOfTableDimensions | Number of table dimensions | string — '1' | {'2'} | '3' | '4' |
Table | Table | string — {'[4 5 6;16 19 20;10 18 23]'} |
BreakpointsForDimension1 | BP 1 | string — {'[10,22,31]'} |
BreakpointsForDimension2 | BP 2 | string — {'[10,22,31]'} |
BreakpointsForDimension3 | BP 3 | string — {'[1:3]'} |
... | ... | ... |
BreakpointsForDimension30 | BP 30 | string — {'[1:3]'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InterpMethod | Interpolation method | string — 'None - Flat' | {'Linear'} | 'Cubic spline' |
ExtrapMethod | Extrapolation method | string — 'None - Clip' | {'Linear'} | 'Cubic spline' |
UseLastTableValue | Use last table value for inputs at or above last breakpoint | string — {'off'} | 'on' |
IndexSearchMethod | Index search method | string — 'Evenly spaced points' | 'Linear search' | {'Binary search'} |
BeginIndexSearchUsing | Begin index search using previous index result | string — {'off'} | 'on' |
UseOneInputPortForAll | Use one input port for all input data | string — {'off'} | 'on' |
ActionForOutOfRangeInput | Action for out-of-range input | string — {'None'} | 'Warning' | 'Error' |
TableDataTypeStr | Table data | string — '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 | string — {'[]'} |
TableMax | Table data maximum | string — {'[]'} |
BreakpointsForDimension1 | Breakpoints 1 | string — {'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 | Breakpoints 1 minimum | string — {'[]'} |
BreakpointsForDimension1 | Breakpoints 1 maximum | string — {'[]'} |
BreakpointsForDimension2 | Breakpoints 2 | string — {'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 | Breakpoints 2 minimum | string — {'[]'} |
BreakpointsForDimension2 | Breakpoints 2 maximum | string — {'[]'} |
... | ... | ... |
BreakpointsForDimension30 | Breakpoints 30 | string — {'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 | Breakpoints 30 minimum | string — {'[]'} |
BreakpointsForDimension30 | Breakpoints 30 maximum | string — {'[]'} |
FractionDataTypeStr | Fraction | string — {'Inherit: Inherit via internal rule'} | 'double' | 'single' | 'fixdt(1,16,0)' |
IntermediateResultsDataTypeStr | Intermediate results | string — '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 | string — 'Inherit: Inherit via back propagation' | 'Inherit: Inherit from table data' | {'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 | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
InputSameDT | Require all inputs to have the same data type | string — 'off' | {'on'} |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
ProcessOutOfRangeInput | Deprecated | |
Lookup Table Dynamic (Lookup Table Dynamic) (masked subsystem) | ||
LookUpMeth | Lookup Method | string — 'Interpolation-Extrapolation' | {'Interpolation-Use End Values'} | 'Use Input Nearest' | 'Use Input Below' | 'Use Input Above' |
OutDataTypeStr | Output data type | string — {'fixdt('double')'} | 'Inherit: Inherit via back propagation' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round'| 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Prelookup (PreLookup) | ||
BreakpointsData | Breakpoint data | string — {'[10:10:110]'} |
IndexSearchMethod | Index search method | string — 'Evenly spaced points' | 'Linear search' | {'Binary search'} |
BeginIndexSearchUsing | Begin index search using previous index result | string — {'off'} | 'on' |
OutputOnlyTheIndex | Output only the index | string — {'off'} | 'on' |
ProcessOutOfRangeInput | Process out-of-range input | string — 'Clip to range' | {'Linear extrapolation'} |
UseLastBreakpoint | Use last breakpoint for input at or above upper limit | string — {'off'} | 'on' |
ActionForOutOfRangeInput | Action for out-of-range input | string — {'None'} | 'Warning' | 'Error' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
IndexDataTypeStr | Index data type | string — 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | {'uint32'} | 'fixdt(1,16)' |
FractionDataTypeStr | Fraction data type | string — {'Inherit: Inherit via internal rule'} | 'double' | 'single' | 'fixdt(1,16,0)' |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
BreakpointMin | Breakpoint minimum | string — {'[]'} |
BreakpointMax | Breakpoint maximum | string — {'[]'} |
BreakpointDataTypeStr | Breakpoint data type | string — {'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)' |
Sine (Sine) (masked subsystem) | ||
Formula | Output formula | string — {'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 | string — {'(2^5)+1'} |
OutputWordLength | Output word length | string — {'16'} |
Math Operations Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Abs (Abs) | ||
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as input'} | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Add (Sum) | ||
IconShape | Icon shape | string — {'rectangular'} | 'round' |
Inputs | List of signs | string — {'++'} |
CollapseMode | Sum over | string — {'All dimensions'} | 'Specified dimension' |
CollapseDim | Dimension | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
AccumDataTypeStr | Accumulator data type | string — {'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 | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Algebraic Constraint (Algebraic Constraint) (masked subsystem) | ||
z0 | Initial guess | string — {'0'} |
Assignment (Assignment) | ||
NumberOfDimensions | Number of output dimensions | string — {'1'} |
IndexMode | Index mode | string — 'Zero-based' | {'One-based'} |
OutputInitialize | Initialize output (Y) | string — {'Initialize using input port <Y0>'} | 'Specify size for each dimension in table' |
Index Option | string — 'Assign all' | {'Index vector (dialog)'} | 'Index vector (port)' | 'Starting index (dialog)' | 'Starting index (port)' | |
Index | cell array | |
Output Size | cell array | |
DiagnosticForDimensions | Action if any output element is not assigned | string — 'Error' | 'Warning' | {'None'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
IndexOptions | See IndexOptionArray parameter for more information. | |
Indices | See IndexParamArray parameter for more information. | |
OutputSizes | See OutputSizeArray parameter for more information. | |
Bias (Bias) | ||
Bias | Bias | string — {'0.0'} |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Complex to Magnitude-Angle (ComplexToMagnitudeAngle) | ||
Output | Output | string — 'Magnitude' | 'Angle' | {'Magnitude and angle'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Complex to Real-Imag (ComplexToRealImag) | ||
Output | Output | string — 'Real' | 'Imag' | {'Real and imag'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Divide (Product) | ||
Inputs | Number of inputs | string — {'*/'} |
Multiplication | Multiplication | string — {'Element-wise(.*)'} | 'Matrix(*)' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have same data type | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Dot Product (Dot Product) | ||
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have same data type | string — 'off' | {'on'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Gain (Gain) | ||
Gain | Gain | string — {'1'} |
Multiplication | Multiplication | string — {'Element-wise(K.*u)'} | 'Matrix(K*u)' | 'Matrix(u*K)' | 'Matrix(K*u) (u vector)' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as input' | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
ParamMin | Parameter minimum | string — {'[]'} |
ParamMax | Parameter maximum | string — {'[]'} |
ParamDataTypeStr | Parameter data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Same as input' | '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 | string — 'Magnitude' | 'Angle' | {'Magnitude and angle'} |
ConstantPart | Magnitude or Angle | string — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Math Function (Math) | ||
Operator | Function | string — {'exp'} | 'log' | '10^u' | 'log10' | 'magnitude^2' | 'square' | 'sqrt' | '1/sqrt' | 'pow' | 'conj' | 'reciprocal' | 'hypot' | 'rem' | 'mod' | 'transpose' | 'hermitian' |
OutputSignalType | Output signal type | string — {'auto'} | 'real' | 'complex' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via internal rule' | 'Inherit: Inherit via back propagation' | {'Inherit: Same as first input'} | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — 'off' | {'on'} |
IntermediateResults | Intermediate results data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Inherit from input' | 'Inherit: Inherit from output' |
AlgorithmType | Method | string — 'Exact' | {'Newton-Raphson'} |
Iterations | Number of iterations | string — {'3'} |
Matrix Concatenate (Concatenate) | ||
NumInputs | Number of inputs | string — {'2'} |
Mode | Mode | string — 'Vector' | {'Multidimensional array'} |
ConcatenateDimension | Concatenate dimension | string — {'2'} |
MinMax (MinMax) | ||
Function | Function | string — {'min'} | 'max' |
Inputs | Number of input ports | string — {'1'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
MinMax Running Resettable (MinMax Running Resettable) (masked subsystem) | ||
Function | Function | string — {'min'} | 'max' |
vinit | Initial condition | string — {'0.0'} |
Permute Dimensions (PermuteDimensions) | ||
Order | Order | string — {'[2,1]'} |
Polynomial (Polyval) | ||
coefs | Polynomial Coefficients | string — {'[ +2.081618890e-019, -1.441693666e-014, +4.719686976e-010, -8.536869453e-006, +1.621573104e-001, -8.087801117e+001 ]'} |
Product (Product) | ||
Inputs | Number of inputs | string — {'2'} |
Multiplication | Multiplication | string — {'Element-wise(.*)'} | 'Matrix(*)' |
CollapseMode | Multiply over | string — {'All dimensions'} | 'Specified dimension' |
CollapseDim | Dimension | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have same data type | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | 'Floor' | 'Nearest' | 'Round' | 'Simplest' | {'Zero'} |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Product of Elements (Product) | ||
Inputs | Number of inputs | string — {'*'} |
Multiplication | Multiplication | string — {'Element-wise(.*)'} | 'Matrix(*)' |
CollapseMode | Multiply over | string — {'All dimensions'} | 'Specified dimension' |
CollapseDim | Dimension | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have same data type | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit via internal rule'} | 'Inherit: Inherit via back propagation' | 'Inherit: Same as first input' | '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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Real-Imag to Complex (RealImagToComplex) | ||
Input | Input | string — 'Real' | 'Imag' | {'Real and imag'} |
ConstantPart | Real part or Imag part | string — {'0'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Reshape (Reshape) | ||
OutputDimensionality | Output dimensionality | string — {'1-D array'} | 'Column vector (2-D)' | 'Row vector (2-D)' | 'Customize' | 'Derive from reference input port' |
OutputDimensions | Output dimensions | string — {'[1,1]'} |
Rounding Function (Rounding) | ||
Operator | Function | string — {'floor'} | 'ceil' | 'round' | 'fix' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Sign (Signum) | ||
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Sine Wave Function (Sin) | ||
SineType | Sine type | string — {'Time based'} | 'Sample based' |
TimeSource | Time (t) | string — 'Use simulation time' | {'Use external signal'} |
Amplitude | Amplitude | string — {'1'} |
Bias | Bias | string — {'0'} |
Frequency | Frequency (rad/sec) | string — {'1'} |
Phase | Phase (rad) | string — {'0'} |
Samples | Samples per period | string — {'10'} |
Offset | Number of offset samples | string — {'0'} |
SampleTime | Sample time | string — {'0'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Slider Gain (Slider Gain) (masked subsystem) | ||
low | Low | string — {'0'} |
gain | Gain | string — {'1'} |
high | High | string — {'2'} |
Squeeze (Squeeze) (masked subsystem) | ||
None | None | None |
Subtract (Sum) | ||
IconShape | Icon shape | string — {'rectangular'} | 'round' |
Inputs | List of signs | string — {'+-'} |
CollapseMode | Sum over | string — {'All dimensions'} | 'Specified dimension' |
CollapseDim | Dimension | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
AccumDataTypeStr | Accumulator data type | string — {'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 | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Sum (Sum) | ||
IconShape | Icon shape | string — 'rectangular' | {'round'} |
Inputs | List of signs | string — {'|++'} |
CollapseMode | Sum over | string — {'All dimensions'} | 'Specified dimension' |
CollapseDim | Dimension | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
AccumDataTypeStr | Accumulator data type | string — {'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 | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Sum of Elements (Sum) | ||
IconShape | Icon shape | string — {'rectangular'} | 'round' |
Inputs | List of signs | string — {'+'} |
CollapseMode | Sum over | string — {'All dimensions'} | 'Specified dimension' |
CollapseDim | Dimension | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all inputs to have the same data type | string — {'off'} | 'on' |
AccumDataTypeStr | Accumulator data type | string — {'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 | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
LockScale | Lock data type settings against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Trigonometric Function (Trigonometry) | ||
Operator | Function | string — {'sin'} | 'cos' | 'tan' | 'asin' | 'acos' | 'atan' | 'atan2' | 'sinh' | 'cosh' | 'tanh' | 'asinh' | 'acosh' | 'atanh' | 'sincos' |
OutputSignalType | Output signal type | string — {'auto'} | 'real' | 'complex' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Unary Minus (Unary Minus) | ||
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Vector Concatenate (Concatenate) | ||
NumInputs | Number of inputs | string — {'2'} |
Mode | Mode | string — {'Vector'} | 'Multidimensional array' |
Weighted Sample Time Math (Sample Time Math) | ||
TsampMathOp | Operation | string — {'+'} | '-' | '*' | '/' | 'Ts Only' | '1/Ts Only' |
weightValue | Weight value | string — {'1.0'} |
TsampMathImp | Implement using | string — {'Online Calculations'} | 'Offline Scaling Adjustment' |
OutDataTypeStr | Output data type | string — {'Inherit via internal rule'} | 'Inherit via back propagation' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
OutputDataTypeScaling | Deprecated | |
DoSatur | Deprecated | |
Model Verification Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Assertion (Assertion) | ||
Enabled | Enable assertion | string — 'off' | {'on'} |
AssertionFailFcn | Simulation callback when assertion fails | string — {''} |
StopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Check Dynamic Gap (Checks_DGap) (masked subsystem) | ||
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Dynamic Range (Checks_DRange) (masked subsystem) | ||
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Static Gap (Checks_SGap) (masked subsystem) | ||
max | Upper bound | string — {'100'} |
max_included | Inclusive upper bound | string — 'off' | {'on'} |
min | Lower bound | string — {'0'} |
min_included | Inclusive lower bound | string — 'off' | {'on'} |
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Static Range (Checks_SRange) (masked subsystem) | ||
max | Upper bound | string — {'100'} |
max_included | Inclusive upper bound | string — 'off' | {'on'} |
min | Lower bound | string — {'0'} |
min_included | Inclusive lower bound | string — 'off' | {'on'} |
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Discrete Gradient (Checks_Gradient) (masked subsystem) | ||
gradient | Maximum gradient | string — {'1'} |
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Dynamic Lower Bound (Checks_DMin) (masked subsystem) | ||
Enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Dynamic Upper Bound (Checks_DMax) (masked subsystem) | ||
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Input Resolution (Checks_Resolution) (masked subsystem) | ||
resolution | Resolution | string — {'1'} |
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
Check Static Lower Bound (Checks_SMin) (masked subsystem) | ||
min | Lower bound | string — {'0'} |
min_included | Inclusive boundary | string — 'off' | {'on'} |
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Check Static Upper Bound (Checks_SMax) (masked subsystem) | ||
max | Upper bound | string — {'0'} |
max_included | Inclusive boundary | string — 'off' | {'on'} |
enabled | Enable assertion | string — 'off' | {'on'} |
callback | Simulation callback when assertion fails (optional) | string — {''} |
stopWhenAssertionFail | Stop simulation when assertion fails | string — 'off' | {'on'} |
export | Output assertion signal | string — {'off'} | 'on' |
icon | Select icon type | string — {'graphic'} | 'text' |
Model-Wide Utilities Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Block Support Table (Block Support Table) (masked subsystem) | ||
DocBlock (DocBlock) (masked subsystem) | ||
ECoderFlag | Real-Time Workshop Embedded Coder Flag | string — {''} |
DocumentType | Document Type | string — {'Text'} | 'RTF' | 'HTML' |
Model Info (CMBlock) (masked subsystem) | ||
InitialSaveTempField | InitialSaveTempField | string — {''} |
InitialBlockCM | InitialBlockCM | string — {'None'} |
BlockCM | BlockCM | string — {'None'} |
Frame | Show block frame | string — 'off' | {'on'} |
SaveTempField | SaveTempField | string — {''} |
DisplayStringWithTags | DisplayStringWithTags | string — {'Model Info'} |
MaskDisplayString | MaskDisplayString | string — {'Model Info'} |
HorizontalTextAlignment | Horizontal text alignment | string — {'Center'} |
LeftAlignmentValue | LeftAlignmentValue | string — {'0.5'} |
SourceBlockDiagram | SourceBlockDiagram | string — {'untitled'} |
TagMaxNumber | TagMaxNumber | string — {'20'} |
CMTag1 | CMTag1 | string — {''} |
CMTag2 | CMTag2 | string — {''} |
CMTag3 | CMTag3 | string — {''} |
CMTag4 | CMTag4 | string — {''} |
CMTag5 | CMTag5 | string — {''} |
CMTag6 | CMTag6 | string — {''} |
CMTag7 | CMTag7 | string — {''} |
CMTag8 | CMTag8 | string — {''} |
CMTag9 | CMTag9 | string — {''} |
CMTag10 | CMTag10 | string — {''} |
CMTag11 | CMTag11 | string — {''} |
CMTag12 | CMTag12 | string — {''} |
CMTag13 | CMTag13 | string — {''} |
CMTag14 | CMTag14 | string — {''} |
CMTag15 | CMTag15 | string — {''} |
CMTag16 | CMTag16 | string — {''} |
CMTag17 | CMTag17 | string — {''} |
CMTag18 | CMTag18 | string — {''} |
CMTag19 | CMTag19 | string — {''} |
CMTag20 | CMTag20 | string — {''} |
Timed-Based Linearization (Timed Linearization) (masked subsystem) | ||
LinearizationTime | Linearization time | string — {'1'} |
SampleTime | Sample time (of linearized model) | string — {'0'} |
Trigger-Based Linearization (Triggered Linearization) (masked subsystem) | ||
TriggerType | Trigger type | string — {'rising'} | 'falling' | 'either' | 'function-call' |
SampleTime | Sample time (of linearized model) | string — {'0'} |
Ports & Subsystems Library Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
| Action Port (ActionPort) | ||
InitializeStates | States when execution is resumed | string — {'held'} | 'reset' |
PropagateVarSize | Propagate sizes of variable-size signals | string — {'Only when execution is resumed'} | 'During execution' |
Atomic Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
Code Reuse Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — 'Auto' | 'Inline' | 'Function' | {'Reusable function'} |
RTWFcnNameOpts | Real-Time Workshop function name options | string — 'Auto' | {'Use subsystem name'} | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — 'Auto' | 'Use subsystem name' | {'Use function name'} | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
Configurable Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {'self'} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — {'off'} | 'on' |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop Workshop (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'on'} | 'off' Read-only | |
Enable (EnablePort) | ||
StatesWhenEnabling | States when enabling | string — {'held'} | 'reset' |
PropagateVarSize | Propagate sizes of variable-size signals | string — {'Only when enabling'} | 'During execution' |
ShowOutputPort | Show output port | string — {'off'} | 'on' |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
Enabled and Triggered Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
Enabled Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
For Iterator (ForIterator) | ||
ResetStates | States when starting | string — {'held'} | 'reset' |
IterationSource | Iteration limit source | string — {'internal'} | 'external' |
IterationLimit | Iteration limit | string — {'5'} |
ExternalIncrement | Set next i (iteration variable) externally | string — {'off'} | 'on' |
ShowIterationPort | Show iteration variable | string — 'off' | {'on'} |
IndexMode | Index mode | string — 'Zero-based' | {'One-based'} |
IterationVariable | Iteration variable data type | string — {'int32'} | 'int16' | 'int8' | 'double' |
For Iterator Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation . Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
Function-Call Generator (Function-Call Generator) (masked subsystem) | ||
sample_time | Sample time | string — {'1'} |
numberOfIterations | Number of iterations | string — {'1'} |
Function-Call Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
If (If) | ||
NumInputs | Number of inputs | string — {'1'} |
IfExpression | If expression (e.g., u1 ~= 0) | string — {'u1 > 0'} |
ElseIfExpressions | Elseif expressions (comma-separated list, e.g., u2 ~= 0, u3(2) < u2) | string — {''} |
ShowElse | Show else condition | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
If Action Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
In1 (Inport) | ||
Port | Port number | string — {'1'} |
IconDisplay | Icon display | string — 'Signal name' | {'Port number'} | 'Port number and signal name' |
LatchByDelaying | Latch input by delaying outside signal | string — {'off'} | 'on' |
LatchByCopying | Latch input by copying inside signal | string — {'off'} | 'on' |
Interpolate | Interpolate data | string — 'off' | {'on'} |
UseBusObject | Specify properties via bus object | string — {'off'} | 'on' |
BusObject | Bus object for specifying bus properties | string — {'BusObject'} |
BusOutputAsStruct | Output as nonvirtual bus | string — {'off'} | 'on' |
PortDimensions | Port dimensions (-1 for inherited) | string — {'-1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Minimum | string — {'[]'} |
OutMax | Maximum | string — {'[]'} |
OutDataTypeStr | Data type | string — {'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 | string — {'off'} | 'on' |
SignalType | Signal type | string — {'auto'} | 'real' | 'complex' |
SamplingMode | Sampling mode | string — {'auto'} | 'Sample based' | 'Frame based' |
ModelNameDialog | The name of the referenced model exactly as you typed it in, with any surrounding whitespace removed. When you set ModelNameDialog programmatically or with the GUI, Simulink automatically sets the values of ModelName and ModelFile based on the value of ModelNameDialog. | string — {'<Enter Model Name>'} |
ModelName | The value of ModelNameDialog stripped of any extension (.mdl or .mdlp) that you provided. For backward compatibility, setting ModelName programatically actually sets ModelNameDialog, which then sets ModelName as described. You cannot use get_param to obtain the ModelName of a protected model, because the name without a suffix would be ambiguous. Use get_param on ModelFile instead. You can test ProtectedModel to determine programmatically whether a referenced model is protected. | string — Set automatically when ModelNameDialog is set. |
ModelFile | The value of ModelNameDialog with an extension (.mdl or .mdlp). If the user omits the extension, Simulink searches the MATLAB path first for ModelName.mdl, and if that search fails, again for ModelName.mdlp. The suffix of the first match Simulink finds becomes the suffix of ModelFile. Setting ModelFile programatically actually sets ModelNameDialog, which then sets ModelFile as described. | string — Set automatically when ModelNameDialog is set. |
ProtectedModel | Read-only boolean indicating whether the model referenced by the block is protected (on) or unprotected (off). | boolean — 'off' | 'on' — Set automatically when ModelNameDialog is set. |
ParameterArgumentNames | Model arguments | string — {''} |
ParameterArgumentValues | Model argument values (for this instance) | string — {''} |
SimulationMode | Specifies whether to simulate the model by generating and executing code or by interpreting the model in Simulink software. | string — {'Accelerator'} | 'Normal' | 'Processor-in-the-loop (PIL)' |
| Variant | Specifies whether the Model block references variant models. | string — {'off'} | 'on' |
| Variants | An array of variant structures where each element specifies one variant. The structure fields are as follows: | array — [ ] |
| variant.Name– The name of the Simulink.Variant object that represents the variant to which this element applies. | string — {''} | |
| variant.ModelName– The name of the referenced model associated with the specified variant object in this Model block. | string — {''} | |
| variant.ParameterArgumentNames– Noneditable string containing the names of the model arguments for which the Model block must supply values. | string — {''} | |
| variant.ParameterArgumentValues– The values to supply for the model arguments when this variant is the active variant. | string — {''} | |
| variant.SimulationMode– The execution mode to use when this variant is the active variant. | string — {'Accelerator'} | 'Normal' | 'Processor-in-the-loop (PIL)' | |
| OverrideUsingVariant | Whether to override the variant conditions and make a specified variant the active variant, and if so, the name of that variant. | string — {''} The value is the empty string if no overriding variant object is specified; or the name of the overriding object. |
| ActiveVariant | The variant that is currently active, either because its variant condition is true or OverrideUsingVariant has overridden the variant conditions and specified this variant. | string — {''} The value is the empty string if no variant is active; or the name of the active variant. |
| GeneratePreprocessorConditionals | Locally controls whether generated code contains preprocessor conditionals. This parameter is relevant only to code generation, and has no effect on the behavior of a model in Simulink. The parameter is available only for an ERT target when Inline parameters is selected. See Generating Code Variants for Variant Models for more information. | string — {'off'} | 'on' |
AvailSigsInstanceProps | handle vector — {''} | |
AvailSigsDefaultProps | handle vector — {''} | |
DefaultDataLogging | string — {'off'} | 'on' | |
Out1 (Outport) | ||
Port | Port number | string — {'1'} |
IconDisplay | Icon display | string — 'Signal name' | {'Port number'} | 'Port number and signal name' |
UseBusObject | Specify properties via bus object | string — {'off'} | 'on' |
BusObject | Bus object for validating input bus | string — {'BusObject'} |
BusOutputAsStruct | Output as nonvirtual bus in parent model | string — {'off'} | 'on' |
PortDimensions | Port dimensions (-1 for inherited) | string — {'-1'} |
VarSizeSig | Variable-size signal | string — {'Inherit'} | 'No' | 'Yes' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Minimum | string — {'[]'} |
OutMax | Maximum | string — {'[]'} |
OutDataTypeStr | Data type | string — {'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 | string — {'off'} | 'on' |
SignalType | Signal type | string — {'auto'} | 'real' | 'complex' |
SamplingMode | Sampling mode | string — {'auto'} | 'Sample based' | 'Frame based' |
OutputWhenDisabled | Output when disabled | string — {'held'} | 'reset' |
InitialOutput | Initial output | string — {'[]'} |
Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — {'off'} | 'on' |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'on'} | 'off' Read-only | |
Virtual | For internal use | |
Switch Case (SwitchCase) | ||
CaseConditions | Case conditions (e.g., {1,[2,3]}) | string — {'{1}'} |
ShowDefaultCase | Show default case | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
CaseShowDefault | Deprecated | |
Switch Case Action Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
Trigger (TriggerPort) | ||
TriggerType | Trigger type | string — {'rising'} | 'falling' | 'either' | 'function-call' |
StatesWhenEnabling | States when enabling | string — {'held'} | 'reset' | 'inherit' |
PropagateVarSize | Propagate sizes of variable-size signals | string — {'During execution'} | 'Only when enabling' |
ShowOutputPort | Show output port | string — {'off'} | 'on' |
OutputDataType | Output data type | string — {'auto'} | 'double' | 'int8' |
SampleTimeType | Sample time type | string — {'triggered'} | 'periodic' |
SampleTime | Sample time | string — {'1'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
Triggered Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
While Iterator (WhileIterator) | ||
MaxIters | Maximum number of iterations (-1 for unlimited) | string — {'5'} |
WhileBlockType | While loop type | string — {'while'} | 'do-while' |
ResetStates | States when starting | string — {'held'} | 'reset' |
ShowIterationPort | Show iteration number port | string — {'off'} | 'on' |
OutputDataType | Output data type | string — {'int32'} | 'int16' | 'int8' | 'double' |
While Iterator Subsystem (SubSystem) | ||
ShowPortLabels | Show port labels | string — 'none' | {'FromPortIcon'} | 'FromPortBlockName' | 'SignalName' | 'off' | 'on' |
BlockChoice | Block choice | string — {''} |
TemplateBlock | Template block | string — {''} |
MemberBlocks | Member blocks | string — {''} |
Permissions | Read/Write permissions | string — {'ReadWrite'} | 'ReadOnly' | 'NoReadOrWrite' |
ErrorFcn | Name of error callback function | string — {''} |
PermitHierarchical | Permit hierarchical resolution | string — {'All'} | 'ExplicitOnly' | 'None' |
TreatAsAtomicUnit | Treat as atomic unit | string — 'off' | {'on'} |
MinAlgLoopOccurrences | Minimize algebraic loop occurrences | string — {'off'} | 'on' |
PropExecContext | Propagate execution context across subsystem boundary | string — {'off'} | 'on' |
CheckFcnCallInp | Warn if function-call inputs are context-specific | string — {'off'} | 'on' |
SystemSampleTime | Sample time (-1 for inherited) | string — {'-1'} |
RTWSystemCode | Real-Time Workshop system code | string — {'Auto'} | 'Inline' | 'Function' | 'Reusable function' |
RTWFcnNameOpts | Real-Time Workshop function name options | string — {'Auto'} | 'Use subsystem name' | 'User specified' |
RTWFcnName | Real-Time Workshop function name | string — {''} |
RTWFileNameOpts | Real-Time Workshop filename options | string — {'Auto'} | 'Use subsystem name' | 'Use function name' | 'User specified' |
RTWFileName | Real-Time Workshop filename (no extension) | string — {''} |
DataTypeOverride | Specifies data type used to override fixed-point data types. Set by Data type override on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
MinMaxOverflowLogging | Setting for fixed-point instrumentation. Set by Fixed-point instrumentation mode on the Fixed-Point Tool. | string — {'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
IsSubsystemVirtual | boolean — {'off'} | 'on' Read-only | |
Signal Attributes Library Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Bus to Vector (BusToVector) | ||
Data Type Conversion (DataTypeConversion) | ||
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit via back propagation'} | '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 | string — {'off'} | 'on' |
ConvertRealWorld | Input and output to have equal | string — {'Real World Value (RWV)'} | 'Stored Integer (SI)' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Data Type Conversion Inherited (Conversion Inherited) (masked subsystem) | ||
ConvertRealWorld | Input and Output to have equal | string — {'Real World Value'} | 'Stored Integer' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Data Type Duplicate (Data Type Duplicate) (masked subsystem) | ||
NumInputPorts | Number of input ports | string — {'2'} |
Data Type Propagation (Data Type Propagation) (masked subsystem) | ||
PropDataTypeMode | 1. Propagated data type | string — 'Specify via dialog' | {'Inherit via propagation rule'} |
PropDataType | 1.1. Propagated data type (e.g., fixdt(1,16), fixdt('single')) | string — {'fixdt(1,16)'} |
IfRefDouble | 1.1. If any reference input is double, output is | string — {'double'} | 'single' |
IfRefSingle | 1.2. If any reference input is single, output is | string — 'double' | {'single'} |
IsSigned | 1.3. Is-Signed | string — 'IsSigned1' | 'IsSigned2' | {'IsSigned1 or IsSigned2'} | 'TRUE' | 'FALSE' |
NumBitsBase | 1.4.1. Number-of-Bits: Base | string — 'NumBits1' | 'NumBits2' | {'max([NumBits1 NumBits2])'} | 'min([NumBits1 NumBits2])' | 'NumBits1+NumBits2' |
NumBitsMult | 1.4.2. Number-of-Bits: Multiplicative adjustment | string — {'1'} |
NumBitsAdd | 1.4.3. Number-of-Bits: Additive adjustment | string — {'0'} |
NumBitsAllowFinal | 1.4.4. Number-of-Bits: Allowable final values | string — {'1:128'} |
PropScalingMode | 2. Propagated scaling | string — 'Specify via dialog' | {'Inherit via propagation rule'} | 'Obtain via best precision' |
PropScaling | 2.1. Propagated scaling: Slope or [Slope Bias] ex. 2^-9 | string — {'2^-10'} |
ValuesUsedBestPrec | 2.1. Values used to determine best precision scaling | string — {'[5 -7]'} |
SlopeBase | 2.1.1. Slope: Base | string — '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 | string — {'1'} |
SlopeAdd | 2.1.3. Slope: Additive adjustment | string — {'0'} |
BiasBase | 2.2.1. Bias: Base | string — {'Bias1'} | 'Bias2' | 'max([Bias1 Bias2])' | 'min([Bias1 Bias2])' | 'Bias1*Bias2' | 'Bias1/Bias2' | 'Bias1+Bias2' | 'Bias1-Bias2' |
BiasMult | 2.2.2. Bias: Multiplicative adjustment | string — {'1'} |
BiasAdd | 2.2.3. Bias: Additive adjustment | string — {'0'} |
Data Type Scaling Strip (Scaling Strip) (masked subsystem) | ||
IC (InitialCondition) | ||
Value | Initial value | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Probe (Probe) | ||
ProbeWidth | Probe width | string — 'off' | {'on'} |
ProbeSampleTime | Probe sample time | string — 'off' | {'on'} |
ProbeComplexSignal | Detect complex signal | string — 'off' | {'on'} |
ProbeSignalDimensions | Probe signal dimensions | string — 'off' | {'on'} |
ProbeFramedSignal | Detect framed signal | string — 'off' | {'on'} |
ProbeWidthDataType | Data type for width | string — {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input' |
ProbeSampleTimeDataType | Data type for sample time | string — {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input' |
ProbeComplexityDataType | Data type for signal complexity | string — {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input' |
ProbeDimensionsDataType | Data type for signal dimensions | string — {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input' |
ProbeFrameDataType | Data type for signal frames | string — {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'boolean' | 'Same as input' |
Rate Transition (RateTransition) | ||
Integrity | Ensure data integrity during data transfer | string — 'off' | {'on'} |
Deterministic | Ensure deterministic data transfer (maximum delay) | string — 'off' | {'on'} |
X0 | Initial conditions | string — {'0'} |
OutPortSampleTimeOpt | Output port sample time options | string — {'Specify'} | 'Inherit' | 'Multiple of input port sample time' |
OutPortSampleTimeMultiple | Sample time multiple (>0) | string — {'1'} |
OutPortSampleTime | Output port sample time | string — {'-1'} |
Signal Conversion (SignalConversion) | ||
ConversionOutput | Output | string — {'Contiguous copy'} | 'Bus copy' | 'Virtual bus' | 'Nonvirtual bus' |
OverrideOpt | Exclude this block from 'Block reduction' optimization | string — {'off'} | 'on' |
Signal Specification (SignalSpecification) | ||
Dimensions | Dimensions (-1 for inherited) | string — {'-1'} |
VarSizeSig | Variable-size signal | string — {'Inherit'} | 'No' | 'Yes' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Minimum | string — {'[]'} |
OutMax | Maximum | string — {'[]'} |
OutDataTypeStr | Data type | string — {'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 | string — {'off'} | 'on' |
SignalType | Signal type | string — {'auto'} | 'real' | 'complex' |
SamplingMode | Sampling mode | string — {'auto'} | 'Sample based' | 'Frame based' |
Weighted Sample Time (Sample Time Math) | ||
TsampMathOp | Operation | string — '+' | '-' | '*' | '/' | {'Ts Only'} | '1/Ts Only' |
weightValue | Weight value | string — {'1.0'} |
TsampMathImp | Implement using | string — {'Online Calculations'} | 'Offline Scaling Adjustment' |
OutDataTypeStr | Output data type | string — {'Inherit via internal rule'} | 'Inherit via back propagation' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
OutputDataTypeScaling | Deprecated | |
DoSatur | Deprecated | |
Width (Width) | ||
OutputDataTypeScaling | Output data type mode | string — {'Choose intrinsic data type'} | 'Inherit via back propagation' | 'All ports same datatype' |
DataType | Output data type | string — {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' |
Signal Routing Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Bus Assignment (BusAssignment) | ||
AssignedSignals | Signals that are being assigned | string — {''} |
InputSignals | Signals in the bus | matrix — {'{}'} |
Bus Creator (BusCreator) | ||
Inputs | Number of inputs. Can be an integer or a comma-separated list of signal names. For example, set_param(gcb, '''a'',''b''); sets the currently selected Bus Creator block two have two inputs named a and b. | string — {'2'} |
DisplayOption | string — 'none' | 'signals' | {'bar'} | |
UseBusObject | Specify properties via bus object | string — {'off'} | 'on' |
BusObject | Bus object for specifying bus properties | string — {'BusObject'} |
NonVirtualBus | Output as nonvirtual bus | string — {'off'} | 'on' |
Bus Selector (BusSelector) | ||
OutputSignals | Specifies the names of the input bus signals selected for output. Corresponds to the Selected signals list on the block parameter dialog box. | string — {'signal1,signal2'} |
OutputAsBus | Output as bus | string — {'off'} | 'on' |
InputSignals | Specifies the names of the signal elements of the bus connected to the Bus Selector's input port. | matrix — {'{}'} |
Data Store Memory (DataStoreMemory) | ||
DataStoreName | Data store name | string — {'A'} |
ReadBeforeWriteMsg | Detect read before write | string — 'none' | {'warning'} | 'error' |
WriteAfterWriteMsg | Detect write after write | string — 'none' | {'warning'} | 'error' |
WriteAfterReadMsg | Detect write after read | string — 'none' | {'warning'} | 'error' |
InitialValue | Initial value | string — {'0'} |
StateMustResolveTo | Data store name must resolve to Simulink signal object | string — {'off'} | 'on' |
RTWStateStorageClass | Real-Time Workshop storage class | string — {'Auto'} | 'ExportedGlobal' | 'ImportedExtern' | 'ImportedExternPointer' |
RTWStateStorageType | Real-Time Workshop type qualifier | string — {''} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
ShowAdditionalParam | Show additional parameters | string — {'off'} | 'on' |
OutMin | Minimum | string — {'[]'} |
OutMax | Maximum | string — {'[]'} |
OutDataTypeStr | Data type | string — {'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 | string — {'off'} | 'on' |
SignalType | Signal type | string — {'auto'} | 'real' | 'complex' |
Data Store Read (DataStoreRead) | ||
DataStoreName | Data store name | string — {'A'} |
SampleTime | Sample time | string — {'0'} |
Data Store Write (DataStoreWrite) | ||
DataStoreName | Data store name | string — {'A'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Demux (Demux) | ||
Outputs | Number of outputs | string — {'2'} |
DisplayOption | Display option | string — 'none' | {'bar'} |
BusSelectionMode | Bus selection mode | string — {'off'} | 'on' |
Environment Controller (Environment Controller) (masked subsystem) | ||
From (From) | ||
GotoTag | Goto tag | string — {'A'} |
IconDisplay | Icon display | string — 'Signal name' | {'Tag'} | 'Tag and signal name' |
Goto (Goto) | ||
GotoTag | Tag | string — {'A'} |
IconDisplay | Icon display | string — 'Signal name' | {'Tag'} | 'Tag and signal name' |
TagVisibility | Tag visibility | string — {'local'} | 'scoped' | 'global' |
Goto Tag Visibility (GotoTagVisibility) | ||
GotoTag | Goto tag | string — {'A'} |
Index Vector (Multi-Port Switch) | ||
Inputs | Number of inputs | string — {'1'} |
zeroidx | Use zero-based indexing | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all data port inputs to have the same data type | string — {'off'} | 'on' |
OutDataTypeStr | Output data type | string — {'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)' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
Manual Switch (Manual Switch) (masked subsystem) | ||
sw | Current setting | string — {'1'} |
action | Action | string — {'0'} |
AllowDiffInputSignals | Allow different input sizes (Results in variable-size output signal) | string — {'off'} | 'on' |
Merge (Merge) | ||
Inputs | Number of inputs | string — {'2'} |
InitialOutput | Initial output | string — {'[]'} |
AllowUnequalInput | Allow unequal port widths | string — {'off'} | 'on' |
InputPortOffsets | Input port offsets | string — {'[]'} |
Multiport Switch (Multi-Port Switch) | ||
Inputs | Number of inputs | string — {'3'} |
zeroidx | Use zero-based indexing | string — {'off'} | 'on' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all data port inputs to have the same data type | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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 | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
AllowDiffInputSignals | Allow different input sizes (Results in variable-size output signal) | string — {'off'} | 'on' |
Mux (Mux) | ||
Inputs | Number of inputs | string — {'2'} |
DisplayOption | Display option | string — 'none' | 'signals' | {'bar'} |
UseBusObject | For internal use | |
BusObject | For internal use | |
NonVirtualBus | For internal use | |
Selector (Selector) | ||
NumberOfDimensions | Number of input dimensions | string — {'1'} |
IndexMode | Index mode | string — 'Zero-based' | {'One-based'} |
IndexOptionArray | Index Option | string — 'Select all' | {'Index vector (dialog)'} | 'Index vector (port)' | 'Starting index (dialog)' | 'Starting index (port)' |
IndexParamArray | Index | cell array |
OutputSizeArray | Output Size | cell array |
InputPortWidth | Input port size | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
IndexOptions | See IndexOptionArray parameter for more information. | |
Indices | See IndexParamArray parameter for more information. | |
OutputSizes | See OutputSizeArray parameter for more information. | |
Switch (Switch) | ||
Criteria | Criteria for passing first input | string — {'u2 >= Threshold'} | 'u2 > Threshold' | 'u2 ~= 0' |
Threshold | Threshold | string — {'0'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
InputSameDT | Require all data port inputs to have the same data type | string — {'off'} | 'on' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'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)' | 'Enum: <class name>' |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
SaturateOnInteger | Saturate on integer overflow | string — {'off'} | 'on' |
AllowDiffInputSignals | Allow different input sizes (Results in variable-size output signal) | string — {'off'} | 'on' |
Sinks Library Block Parameters
| Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Display (Display) | ||
Format | Format | string — {'short'} | 'long' | 'short_e' | 'long_e' | 'bank' | 'hex (Stored Integer)' | 'binary (Stored Integer)' | 'decimal (Stored Integer)' | 'octal (Stored Integer)' |
Decimation | Decimation | string — {'1'} |
Floating | Floating display | string — {'off'} | 'on' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Floating Scope (Scope) | ||
Floating | string — 'off' | {'on'} | |
Location | vector — {'[376 294 700 533]'} | |
Open | string — {'off'} | 'on' | |
NumInputPorts | string {'1'} | |
TickLabels | string — 'on' | 'off' | {'OneTimeTick'} | |
ZoomMode | string — {'on'} | 'xonly' | 'yonly' | |
AxesTitles | string | |
Grid | string — 'off' | {'on'} | 'xonly' | 'yonly' | |
TimeRange | string — {'auto'} | |
YMin | string — {'-5'} | |
YMax | string — {'5'} | |
SaveToWorkspace | string — {'off'} | 'on' | |
SaveName | string — {'ScopeData'} | |
DataFormat | string — {'StructureWithTime'} | 'Structure' | 'Array' | |
LimitDataPoints | string — 'off' | {'on'} | |
MaxDataPoints | string — {'5000'} | |
Decimation | string — {'1'} | |
SampleInput | string — {'off'} | 'on' | |
SampleTime | string — {'0'} | |
Out1 (Outport) | ||
Port | Port number | string — {'1'} |
IconDisplay | Icon display | string — 'Signal name' | {'Port number'} | 'Port number and signal name' |
UseBusObject | Specify properties via bus object | string — {'off'} | 'on' |
BusObject | Bus object for specifying bus properties | string — {'BusObject'} |
BusOutputAsStruct | Output as nonvirtual bus in parent model | string — {'off'} | 'on' |
PortDimensions | Port dimensions (-1 for inherited) | string — {'-1'} |
VarSizeSig | Variable-size signal | string — {'Inherit'} | 'No' | 'Yes' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Minimum | string — {'[]'} |
OutMax | Maximum | string — {'[]'} |
OutDataTypeStr | Data type | string — {'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 | string — {'off'} | 'on' |
SignalType | Signal type | string — {'auto'} | 'real' | 'complex' |
SamplingMode | Sampling mode | string — {'auto'} | 'Sample based' | 'Frame based' |
OutputWhenDisabled | Output when disabled | string — {'held'} | 'reset' |
InitialOutput | Initial output | string — {'[]'} |
Scope (Scope) | ||
Floating | string — {'off'} | 'on' | |
Location | vector — {'[188 390 512 629]'} | |
Open | string — {'off'} | 'on' | |
NumInputPorts | string — {'1'} | |
TickLabels | string — 'on' | 'off' | {'OneTimeTick'} | |
ZoomMode | string — {'on'} | 'xonly' | 'yonly' | |
AxesTitles | string | |
Grid | string — 'off' | {'on'} | 'xonly' | 'yonly' | |
TimeRange | string — {'auto'} | |
YMin | string — {'-5'} | |
YMax | string — {'5'} | |
SaveToWorkspace | string — {'off'} | 'on' | |
SaveName | string — {'ScopeData1'} | |
DataFormat | string — {'StructureWithTime'} | 'Structure' | 'Array' | |
LimitDataPoints | string — 'off' | {'on'} | |
MaxDataPoints | string — {'5000'} | |
Decimation | string — {'1'} | |
SampleInput | string — {'off'} | 'on' | |
SampleTime | string — {'0'} | |
Stop Simulation | ||
Terminator | ||
To File (ToFile) | ||
Filename | Filename | string — {'untitled.mat'} |
MatrixName | Variable name | string — {'ans'} |
Decimation | Decimation | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
To Workspace (ToWorkspace) | ||
VariableName | Variable name | string — {'simout'} |
MaxDataPoints | Limit data points to last | string — {'inf'} |
Decimation | Decimation | string — {'1'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
SaveFormat | Save format | string — 'Structure With Time' | {'Structure'} | 'Array' |
FixptAsFi | Log fixed-point data as an fi object | string — {'off'} | 'on' |
XY Graph (XY scope) (masked subsystem) | ||
xmin | x-min | string — {'-1'} |
xmax | x-max | string — {'1'} |
ymin | y-min | string — {'-1'} |
ymax | y-max | string — {'1'} |
st | Sample time | string — {'-1'} |
Sources Library Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Band-Limited White Noise (Band-Limited White Noise) (masked subsystem) | ||
Cov | Noise power | string — {'[0.1]'} |
Ts | Sample time | string — {'0.1'} |
seed | Seed | string — {'[23341]'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Chirp Signal (chirp) (masked subsystem) | ||
f1 | Initial frequency (Hz) | string — {'0.1'} |
T | Target time (secs) | string — {'100'} |
f2 | Frequency at target time (Hz) | string — {'1'} |
VectorParams1D | Interpret vectors parameters as 1-D | string — 'off' | {'on'} |
Clock (Clock) | ||
DisplayTime | Display time | string — {'off'} | 'on' |
Decimation | Decimation | string — {'10'} |
Constant (Constant) | ||
Value | Constant value | string — {'1'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
SamplingMode | Sampling mode | string — {'Sample based'} | 'Frame based' |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — {'Inherit: Inherit from 'Constant value''} | 'Inherit: Inherit via back propagation' | 'double' | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | '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 | string — {'off'} | 'on' |
SampleTime | Sample time | string — {'inf'} |
FramePeriod | Frame period | string — {'inf'} |
Counter Free-Running (Counter Free-Running) (masked subsystem) | ||
NumBits | Number of Bits | string — {'16'} |
tsamp | Sample time | string — {'-1'} |
Counter Limited (Counter Limited) (masked subsystem) | ||
uplimit | Upper limit | string — {'7'} |
tsamp | Sample time | string — {'-1'} |
Digital Clock (DigitalClock) | ||
SampleTime | Sample time | string — {'1'} |
Enumerated Constant (EnumeratedConstant) | ||
OutDataTypeStr | Output data type | string — {'Enum: SlDemoSign'} |
Value | Value | string — 'SlDemoSign.Positive' | {'SlDemoSign.Zero'} | 'SlDemoSign.Negative' |
SampleTime | Sample time | string — {'-1'} |
From File (FromFile) | ||
FileName | File name | string — {'untitled.mat'} |
SampleTime | Sample time | string — {'0'} |
From Workspace (FromWorkspace) | ||
VariableName | Data | string — {'simin'} |
SampleTime | Sample time | string — {'0'} |
Interpolate | Interpolate data | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
OutputAfterFinalValue | Form output after final data value by | string — {'Extrapolation'} | 'Setting to zero' | 'Holding final value' | 'Cyclic repetition' |
Ground | ||
In1 (Inport) | ||
Port | Port number | string — {'1'} |
IconDisplay | Icon display | string — 'Signal name' | {'Port number'} | 'Port number and signal name' |
UseBusObject | Specify properties via bus object | string — {'off'} | 'on' |
BusObject | Bus object for validating input bus | string — {'BusObject'} |
BusOutputAsStruct | Output as nonvirtual bus | string — {'off'} | 'on' |
PortDimensions | Port dimensions (-1 for inherited) | string — {'-1'} |
VarSizeSig | Variable-size signal | string — {'Inherit'} | 'No' | 'Yes' |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
OutMin | Minimum | string — {'[]'} |
OutMax | Maximum | string — {'[]'} |
OutDataTypeStr | Data type | string — {'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 | string — {'off'} | 'on' |
SignalType | Signal type | string — {'auto'} | 'real' | 'complex' |
SamplingMode | Sampling mode | string — {'auto'} | 'Sample based' | 'Frame based' |
LatchByDelaying | Latch input by delaying outside signal | string — {'off'} | 'on' |
LatchByCopying | Latch input by copying inside signal | string — {'off'} | 'on' |
Interpolate | Interpolate data | string — 'off' | {'on'} |
Pulse Generator (DiscretePulseGenerator) | ||
PulseType | Pulse type | string — {'Time based'} | 'Sample based' |
TimeSource | Time (t) | string — {'Use simulation time'} | 'Use external signal' |
Amplitude | Amplitude | string — {'1'} |
Period | Period | string — {'10'} |
PulseWidth | Pulse width | string — {'5'} |
PhaseDelay | Phase delay | string — {'0'} |
SampleTime | Sample time | string — {'1'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Ramp (Ramp) (masked subsystem) | ||
slope | Slope | string — {'1'} |
start | Start time | string — {'0'} |
X0 | Initial output | string — {'0'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Random Number (RandomNumber) | ||
Mean | Mean | string — {'0'} |
Variance | Variance | string — {'1'} |
Seed | Seed | string — {'0'} |
SampleTime | Sample time | string — {'0.1'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Repeating Sequence (Repeating table) (masked subsystem) | ||
rep_seq_t | Time values | string — {'[0 2]'} |
rep_seq_y | Output values | string — {'[0 2]'} |
Repeating Sequence Interpolated (Repeating Sequence Interpolated) (masked subsystem) | ||
OutValues | Vector of output values | string — {'[3 1 4 2 1].''} |
TimeValues | Vector of time values | string — {'[0 0.1 0.5 0.6 1].''} |
LookUpMeth | Lookup Method | string — {'Interpolation-Use End Values'} | 'Use Input Nearest' | 'Use Input Below' | 'Use Input Above' |
tsamp | Sample time | string — {'0.01'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via back propagation' | {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
Repeating Sequence Stair (Repeating Sequence Stair) (masked subsystem) | ||
OutValues | Vector of output values | string — {'[3 1 4 2 1].''} |
tsamp | Sample time | string — {'-1'} |
OutMin | Output minimum | string — {'[]'} |
OutMax | Output maximum | string — {'[]'} |
OutDataTypeStr | Output data type | string — 'Inherit: Inherit via back propagation' | {'double'} | 'single' | 'int8' | 'uint8' | 'int16' | 'uint16' | 'int32' | 'uint32' | 'fixdt(1,16)' | 'fixdt(1,16,0)' | 'fixdt(1,16,2^0,0)' |
OutputDataTypeScaling | Deprecated | |
OutDataType | Deprecated | |
ConRadixGroup | Deprecated | |
OutScaling | Deprecated | |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
Signal Builder (Sigbuilder block) (masked subsystem) | ||
Signal Generator (SignalGenerator) | ||
WaveForm | Wave form | string — {'sine'} | 'square' | 'sawtooth' | 'random' |
TimeSource | Time (t) | string — {'Use simulation time'} | 'Use external signal' |
Amplitude | Amplitude | string — {'1'} |
Frequency | Frequency | string — {'1'} |
Units | Units | string — 'rad/sec' | {'Hertz'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Sine Wave (Sin) | ||
SineType | Sine type | string — {'Time based'} | 'Sample based' |
TimeSource | Time (t) | string — {'Use simulation time'} | 'Use external signal' |
Amplitude | Amplitude | string — {'1'} |
Bias | Bias | string — {'0'} |
Frequency | Frequency (rad/sec) | string — {'1'} |
Phase | Phase (rad) | string — {'0'} |
Samples | Samples per period | string — {'10'} |
Offset | Number of offset samples | string — {'0'} |
SampleTime | Sample time | string — {'0'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
Step (Step) | ||
Time | Step time | string — {'1'} |
Before | Initial value | string — {'0'} |
After | Final value | string — {'1'} |
SampleTime | Sample time | string — {'0'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
ZeroCross | Enable zero-crossing detection | string — 'off' | {'on'} |
Uniform Random Number (UniformRandomNumber) | ||
Minimum | Minimum | string — {'-1'} |
Maximum | Maximum | string — {'1'} |
Seed | Seed | string — {'0'} |
SampleTime | Sample time | string — {'0'} |
VectorParams1D | Interpret vector parameters as 1-D | string — 'off' | {'on'} |
User-Defined Functions Library Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Embedded MATLAB Fcn (Stateflow) (masked subsystem) | ||
Fcn (Fcn) | ||
Expr | Expression | string — {'sin(u(1)*exp(2.3*(-u(2))))'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
Level-2 M-file S-Function (M-S-Function) | ||
FunctionName | M-file name | string — {'mlfile'} |
Parameters | Parameters | string — {''} |
MATLAB Fcn (MATLABFcn) | ||
MATLABFcn | MATLAB function | string — {'sin'} |
OutputDimensions | Output dimensions | string — {'-1'} |
OutputSignalType | Output signal type | string — {'auto'} | 'real' | 'complex' |
Output1D | Collapse 2-D results to 1-D | string — 'off' | {'on'} |
SampleTime | Sample time (-1 for inherited) | string — {'-1'} |
S-Function (S-Function) | ||
FunctionName | S-function name | string — {'system'} |
Parameters | S-function parameters | string — {''} |
SFunctionModules | S-function modules | string — {''} |
S-Function Builder (S-Function Builder) (masked subsystem) | ||
FunctionName | S-function name | string — {'system'} |
Parameters | S-function parameters | string — {''} |
SFunctionModules | S-function modules | string — {''} |
Additional Discrete Block Library Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Fixed-Point State-Space (Fixed-Point State-Space) (masked subsystem) | ||
A | State Matrix A | string — {'[2.6020 -2.2793 0.6708; 1 0 0; 0 1 0]'} |
B | Input Matrix B | string — {'[ 1; 0; 0]'} |
C | Output Matrix C | string — {'[0.0184 0.0024 0.0055]'} |
D | Direct Feedthrough Matrix D | string — {'[0.0033]'} |
X0 | Initial condition for state | string — {'0.0'} |
InternalDataType | Data type for internal calculations | string — {'fixdt('double')'} |
StateEqScaling | Scaling for State Equation AX+BU | string — {'2^0'} |
OutputEqScaling | Scaling for Output Equation CX+DU | string — {'2^0'} |
LockScale | Lock output data type setting against changes by the fixed-point tools | string — {'off'} | 'on' |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Transfer Fcn Direct Form II (Transfer Fcn Direct Form II) (masked subsystem) | ||
NumCoefVec | Numerator coefficients | string — {'[0.2 0.3 0.2]'} |
DenCoefVec | Denominator coefficients excluding lead (which must be 1.0) | string — {'[-0.9 0.6]'} |
vinit | Initial condition | string — {'0.0'} |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Transfer Fcn Direct Form II Time Varying (Transfer Fcn Direct Form II Time Varying) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
RndMeth | Integer rounding mode | string — 'Ceiling' | 'Convergent' | {'Floor'} | 'Nearest' | 'Round' | 'Simplest' | 'Zero' |
DoSatur | Saturate to max or min when overflows occur | string — {'off'} | 'on' |
Unit Delay Enabled (Unit Delay Enabled) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay Enabled External IC (Unit Delay Enabled External Initial Condition) (masked subsystem) | ||
tsamp | Sample time | string — {'-1'} |
Unit Delay Enabled Resettable (Unit Delay Enabled Resettable) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay Enabled Resettable External IC (Unit Delay Enabled Resettable External Initial Condition) (masked subsystem) | ||
tsamp | Sample time | string — {'-1'} |
Unit Delay External IC (Unit Delay External Initial Condition) (masked subsystem) | ||
tsamp | Sample time | string — {'-1'} |
Unit Delay Resettable (Unit Delay Resettable) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay Resettable External IC (Unit Delay Resettable External Initial Condition) (masked subsystem) | ||
tsamp | Sample time | string — {'-1'} |
Unit Delay With Preview Enabled (Unit Delay With Preview Enabled) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay With Preview Enabled Resettable (Unit Delay With Preview Enabled Resettable) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay With Preview Enabled Resettable External RV (Unit Delay With Preview Enabled Resettable External RV) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay With Preview Resettable (Unit Delay With Preview Resettable) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Unit Delay With Preview Resettable External RV (Unit Delay With Preview Resettable External RV) (masked subsystem) | ||
vinit | Initial condition | string — {'0.0'} |
tsamp | Sample time | string — {'-1'} |
Additional Math: Increment - Decrement Block Parameters
Block (Type)/Parameter | Dialog Box Prompt | Values |
|---|---|---|
Decrement Real World (Real World Value Decrement) (masked subsystem) | ||
Decrement Stored Integer (Stored Integer Value Decrement) (masked subsystem) | ||
Decrement Time To Zero (Decrement Time To Zero) (masked subsystem) | ||
Decrement To Zero (Decrement To Zero) (masked subsystem) | ||
Increment Real World (Real World Value Increment) (masked subsystem) | ||
Increment Stored Integer (Stored Integer Value Increment) (masked subsystem) | ||
![]() | Common Block Parameters | Mask Parameters | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |