
- •Block Reference
- •Commonly Used
- •Continuous
- •Discontinuities
- •Discrete
- •Logic and Bit Operations
- •Lookup Tables
- •Math Operations
- •Model Verification
- •Model-Wide Utilities
- •Ports & Subsystems
- •Signal Attributes
- •Signal Routing
- •Sinks
- •Sources
- •User-Defined Functions
- •Additional Math & Discrete
- •Additional Discrete
- •Additional Math: Increment — Decrement
- •Run on Target Hardware
- •Target for Use with Arduino Hardware
- •Target for Use with BeagleBoard Hardware
- •Target for Use with LEGO MINDSTORMS NXT Hardware
- •Blocks — Alphabetical List
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Settings Pane
- •Measurements Pane
- •Signal Statistics Measurements
- •Settings Pane
- •Transitions Pane
- •Overshoots/Undershoots
- •Cycles
- •Settings Pane
- •Peaks Pane
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Function Reference
- •Model Construction
- •Simulation
- •Linearization and Trimming
- •Data Type
- •Examples
- •Main Toolbar
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Mask Icon Drawing Commands
- •Simulink Classes
- •Model Parameters
- •About Model Parameters
- •Examples of Setting Model Parameters
- •Common Block Parameters
- •About Common Block Parameters
- •Examples of Setting Block Parameters
- •Block-Specific Parameters
- •Mask Parameters
- •About Mask Parameters
- •Notes on Mask Parameter Storage
- •Simulink Identifier
- •Simulink Identifier
- •Model Advisor Checks
- •Simulink Checks
- •Simulink Check Overview
- •See Also
- •Identify unconnected lines, input ports, and output ports
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Check root model Inport block specifications
- •Description
- •Results and Recommended Actions
- •See Also
- •Check optimization settings
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for implicit signal resolution
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for optimal bus virtuality
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Identify disabled library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Identify parameterized library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Identify unresolved library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Check usage of function-call connections
- •Description
- •Results and Recommended Actions
- •See Also
- •Check signal logging save format
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check data store block sample times for modeling errors
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for potential ordering issues involving data store access
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for partial structure parameter usage with bus signals
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for calls to slDataTypeAndScale
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for proper bus usage
- •Description
- •Results and Recommended Actions
- •Action Results
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for proper Merge block usage
- •Description
- •Input Parameters
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Check for non-continuous signals driving derivative ports
- •Description
- •Results and Recommended Actions
- •See Also
- •Runtime diagnostics for S-functions
- •Description
- •Results and Recommended Actions
- •See Also
- •Check file for foreign characters
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check model for known block upgrade issues
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Check that the model is saved in SLX format
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check Model History properties
- •Description
- •Results and Recommended Actions
- •See Also
- •Analyze model hierarchy for upgrade issues
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Simulink Performance Advisor Checks
- •Simulink Performance Advisor Check Overview
- •See Also
- •Baseline
- •See Also
- •Check Preupdate Items
- •See Also
- •Checks that need Update Diagram
- •See Also
- •Checks that require simulation to run
- •See Also
- •Check Accelerator Settings
- •See Also
- •Create Baseline
- •See Also
- •Identify resource intensive diagnostic settings
- •See Also
- •Check optimization settings
- •See Also
- •Identify inefficient lookup table blocks
- •See Also
- •Identify Interpreted MATLAB Function blocks
- •See Also
- •Check MATLAB Function block debug settings
- •See Also
- •Check Stateflow block debug settings
- •See Also
- •Identify simulation target settings
- •See Also
- •Check model reference rebuild setting
- •See Also
- •Check Model Reference parallel build
- •See Also
- •Check solver type selection
- •See Also
- •Select normal or accelerator simulation mode
- •See Also
- •Simulink Limits
- •Maximum Size Limits of Simulink Models
- •Index
- •Filter Structures and Filter Coefficients
- •Valid Initial States
- •Number of Delay Elements (Filter States)
- •Frame-Based Processing
- •Sample-Based Processing
- •Valid Initial States
- •Frame-Based Processing
- •Sample-Based Processing
- •Model Parameters in Alphabetical Order
- •Common Block Parameters
- •Continuous Library Block Parameters
- •Discontinuities Library Block Parameters
- •Discrete Library Block Parameters
- •Logic and Bit Operations Library Block Parameters
- •Lookup Tables Block Parameters
- •Math Operations Library Block Parameters
- •Model Verification Library Block Parameters
- •Model-Wide Utilities Library Block Parameters
- •Ports & Subsystems Library Block Parameters
- •Signal Attributes Library Block Parameters
- •Signal Routing Library Block Parameters
- •Sinks Library Block Parameters
- •Sources Library Block Parameters
- •User-Defined Functions Library Block Parameters
- •Additional Discrete Block Library Parameters
- •Additional Math: Increment - Decrement Block Parameters
- •Mask Parameters

Block-Specific Parameters
Block-Specific Parameters
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.
The type listed for nonmasked blocks is the value of the BlockType parameter (see “Common Block Parameters” on page 8-96). The type listed for masked blocks is the value of the MaskType parameter (see “Mask Parameters” on page 8-259).
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).
Tip For block parameters that accept array values, the number of elements in the array cannot exceed what int_T can represent. This limitation applies to both simulation and Simulink Coder code generation.
The maximum number of characters that a parameter edit field can contain is 49,000.
•Continuous Library Block Parameters
•Discontinuities Library Block Parameters
•Discrete Library Block Parameters
•Logic and Bit Operations Library Block Parameters
•Lookup Tables Block Parameters
•Math Operations Library Block Parameters
•Model Verification Library Block Parameters
•Model-Wide Utilities Library Block Parameters
•Ports & Subsystems Library Block Parameters
8-109

8 Model and Block Parameters
•Signal Attributes Library Block Parameters
•Signal Routing Library Block Parameters
•Sinks Library Block Parameters
•Sources Library Block Parameters
•User-Defined Functions Library Block Parameters
•Additional Discrete Block Library Parameters
•Additional Math: Increment - Decrement Block Parameters
Continuous Library Block Parameters
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Derivative (Derivative) |
|
|
|
|
CoefficientInTFapproximation |
Coefficient c in the transfer |
string — {'inf'} |
|
|
|
function approximation |
|
|
|
|
s/(c*s+1) used for |
|
|
|
|
linearization |
|
|
|
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' |
|
|
|
|
|
|
8-110

Block-Specific Parameters
Continuous Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
AbsoluteTolerance |
Absolute tolerance |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any real |
|
|
|
|
scalar or vector |
|
|
IgnoreLimit |
Ignore limit and reset when |
string — {'off'} | 'on' |
|
|
|
linearizing |
|
|
|
ZeroCross |
Enable zero–crossing detection |
string — 'off' | {'on'} |
|
|
ContinuousStateAttributes |
State Name |
string — {''} | user-defined |
|
|
Second-Order Integrator (SecondOrderIntegrator) |
|
|
|
|
ICSourceX |
Initial condition source x |
string — {'internal'} | |
|
|
|
|
'external' |
|
|
ICX |
Initial condition x |
scalar or vector — {'0'} |
|
|
LimitX |
Limit x |
string — {'off'} | 'on' |
|
|
UpperLimitX |
Upper limit x |
scalar or vector — {'inf'} |
|
|
LowerLimitX |
Lower limit x |
scalar or vector — {'-inf'} |
|
|
AbsoluteToleranceX |
Absolute tolerance x |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any real |
|
|
|
|
scalar or vector |
|
|
StateNameX |
State name x |
string — {} | user-defined |
|
|
ICSourceDXDT |
Initial condition source dx/dt |
string — {'internal'} | |
|
|
|
|
'external' |
|
|
ICDXDT |
Initial condition dx/dt |
scalar or vector — {'0'} |
|
|
LimitDXDT |
Limit dx/dt |
string — {'off'} | 'on' |
|
|
UpperLimitDXDT |
Upper limit dx/dt |
scalar or vector — {'inf'} |
|
|
LowerLimitDXDT |
Lower limit dx/dt |
scalar or vector — {'-inf'} |
|
|
AbsoluteToleranceDXDT |
Absolute tolerance dx/dt |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any real |
|
|
|
|
scalar or vector |
|
8-111

8 Model and Block Parameters
Continuous Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
StateNameDXDT |
State name dx/dt |
string — {} | user-defined |
|
|
ExternalReset |
External reset |
string — {'none'} | |
|
|
|
|
'rising' | 'falling' | |
|
|
|
|
'either' |
|
|
ZeroCross |
Enable zero-crossing detection |
string — {'on'} | 'off' |
|
|
ReinitDXDTwhenXreaches- |
Reinitialize dx/dt when x |
string — {'off'} | 'on' |
|
|
Saturation |
reaches saturation |
|
|
|
IgnoreStateLimitsAndResetFor |
Ignore state limits and the |
string — {'off'} | 'on' |
|
|
- |
|
|
|
|
Linearization |
reset for linearization |
|
|
|
ShowOutput |
Show output |
string — {'both'} | 'x' | |
|
|
|
|
'dxdt' |
|
|
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 |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any real |
|
|
|
|
scalar or vector |
|
|
ContinuousStateAttributes |
State Name |
string — {''} | user-defined |
|
|
Transfer Fcn (TransferFcn) |
|
|
|
|
Numerator |
Numerator coefficients |
vector or matrix — {'[1]'} |
|
|
Denominator |
Denominator coefficients |
vector — {'[1 1]'} |
|
|
AbsoluteTolerance |
Absolute tolerance |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any real |
|
|
|
|
scalar or vector |
|
8-112

Block-Specific Parameters
Continuous Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ContinuousStateAttributes |
State Name |
string — {''} | user-defined |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
during linearization |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
during linearization |
|
|
|
PadeOrder |
Pade order (for linearization) |
string — {'0'} |
|
|
ContinuousStateAttributes |
State Name |
string — {''} | user-defined |
|
|
Variable Transport Delay (VariableTransportDelay) |
|
|
|
|
VariableDelayType |
Select delay type |
string — {'Variable |
|
|
|
|
transport delay'} | |
|
|
|
|
'Variable time delay' |
|
|
|
|
|
|
8-113

8 Model and Block Parameters
Continuous Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
during linearization |
|
|
|
PadeOrder |
Pade order (for linearization) |
string — {'0'} |
|
|
AbsoluteTolerance |
Absolute tolerance |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any |
|
|
|
|
positive real scalar or vector |
|
|
ContinuousStateAttributes |
State Name |
string — {''} | user-defined |
|
|
Zero-Pole (ZeroPole) |
|
|
|
|
Zeros |
Zeros |
vector — {'[1]'} |
|
|
Poles |
Poles |
vector — {'[0 -1]'} |
|
|
Gain |
Gain |
vector — {'[1]'} |
|
|
AbsoluteTolerance |
Absolute tolerance |
string, scalar, or vector — |
|
|
|
|
{'auto'} | {' 1'} | any |
|
|
|
|
positive real scalar or vector |
|
|
ContinuousStateAttributes |
State Name |
string — {''} | user-defined |
|
|
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'} |
|
|
|
|
|
|
8-114

Block-Specific Parameters
Discontinuities Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'1'} |
|
|
|
(Gain) |
|
|
|
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'} |
|
|
Overflow |
|
|
|
|
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) |
|
|
|
|
|
|
|
|
8-115

8 Model and Block Parameters
Discontinuities Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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)' | |
|
|
|
|
'Enum: <class name>' |
|
|
|
|
|
|
8-116

Block-Specific Parameters
Discontinuities Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
Saturation Dynamic (Saturation Dynamic) (masked subsystem) |
|
||
|
OutMin |
Output minimum |
string — {'[]'} |
|
|
|
|
|
|
8-117

8 Model and Block Parameters
Discontinuities Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
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 |
|
|
Delay (Delay) |
|
|
|
|
DelayLengthSource |
Delay length > Source |
string — {'Dialog'} | |
|
|
|
|
'Input port' |
|
|
|
|
|
|
8-118

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
DelayLength |
Delay length > Value |
string — {'2'} |
|
|
DelayLengthUpperLimit |
Delay length > Upper limit |
string — {'100'} |
|
|
InitialConditionSource |
Initial condition > Source |
string — {'Dialog'} | |
|
|
|
|
'Input port' |
|
|
InitialCondition |
Initial condition > Value |
string — {'0.0'} |
|
|
ExternalReset |
External reset |
string — {'None'} | |
|
|
|
|
'Rising' | 'Falling' | |
|
|
|
|
'Either' | 'Level' | |
|
|
|
|
'Level hold' |
|
|
InputProcessing |
Input processing |
string — 'Columns as |
|
|
|
|
channels (frame based)' | |
|
|
|
|
{'Elements as channels |
|
|
|
|
(sample based)'} | |
|
|
|
|
'Inherited' |
|
|
UseCircularBuffer |
Use circular buffer for state |
string — {'off'} | 'on' |
|
|
PreventDirectFeedthrough |
Prevent direct feedthrough |
string — {'off'} | 'on' |
|
|
|
by increasing delay length to |
|
|
|
|
lower limit |
|
|
|
RemoveProtectionDelay |
Remove protection against |
string — {'off'} | 'on' |
|
|
Length |
out-of-range delay length in |
|
|
|
|
generated code |
|
|
|
DiagnosticForOutOfRange |
Diagnostic for out-of-range |
string — {'None'} | |
|
|
DelayLength |
delay length |
'Warning' | 'Error' |
|
|
SampleTime |
Sample time (–1 for inherited) |
string — {'-1'} |
|
|
StateName |
State name |
string — {''} |
|
|
StateMustResolveToSignal |
State name must resolve to |
string — {'off'} | 'on' |
|
|
Object |
Simulink signal object |
|
|
8-119

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
CodeGenStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
CodeGenStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
Difference (Difference) (masked subsystem) |
|
|
|
|
ICPrevInput |
Initial condition for previous |
string — {'0.0'} |
|
|
|
input |
|
|
|
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 in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
8-120

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
Discrete Derivative (Discrete Derivative) (masked subsystem) |
|
||
|
gainval |
Gain value |
string — {'1.0'} |
|
|
ICPrevScaledInput |
Initial condition for previous |
string — {'0.0'} |
|
|
|
weighted input K*u/Ts |
|
|
|
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 in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
8-121

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
|
Values |
|
|
|
RndMeth |
Integer rounding mode |
|
string — 'Ceiling' | |
|
|
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
DoSatur |
Saturate to max or min when |
|
string — {'off'} | 'on' |
|
|
|
|
overflows occur |
|
|
|
|
|
Discrete FIR Filter (Discrete FIR Filter) |
|
|
|
|
|
|
CoefSource |
Coefficient source |
|
string — {'Dialog |
|
|
|
|
|
|
parameters'} | 'Input |
|
|
|
|
|
|
port' |
|
|
|
FilterStructure |
Filter structure |
|
string — {'Direct |
|
|
|
|
|
|
form'} | 'Direct form |
|
|
|
|
|
|
symmetric' | 'Direct |
|
|
|
|
|
|
form antisymmetric' | |
|
|
|
|
|
|
'Direct form transposed' |
|
|
|
|
|
|
| 'Lattice MA' |
|
|
|
|
|
|
|
|
|
|
|
|
|
Note You must have a DSP |
|
|
|
|
|
|
System Toolbox license to use |
|
|
|
|
|
|
a filter structure other than |
|
|
|
|
|
|
Direct form. |
|
|
|
|
|
|
|
|
|
|
Coefficients |
Coefficients |
|
vector — {'[0.5 0.5]'} |
|
|
|
InputProcessing |
Input processing |
|
string — 'Columns as |
|
|
|
|
|
|
channels (frame based)' |
|
|
|
|
|
|
| {'Elements as channels |
|
|
|
|
|
|
(sample based)'} |
|
|
|
InitialStates |
Initial states |
scalar or vector — {'0'} |
|
||
|
SampleTime |
Sample time (-1 for inherited) |
|
string — {'-1'} |
|
|
|
CoefMin |
Coefficients minimum |
|
string — {'[]'} |
|
|
|
|
|
|
|
|
|
8-122

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
CoefMax |
Coefficients maximum |
string — {'[]'} |
|
|
|
OutMin |
Output minimum |
string — {'[]'} |
|
|
|
OutMax |
Output maximum |
string — {'[]'} |
|
|
|
TapSumDataTypeStr |
Tap sum data type |
string — {'Inherit: |
|
|
|
|
|
Same as |
input'} | |
|
|
|
|
'int8' | 'uint8' | |
|
|
|
|
|
'int16' |
| 'uint16' | |
|
|
|
|
'int32' |
| 'uint32' | |
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
CoefDataTypeStr |
Coefficients 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: |
|
|
|
|
|
Inherit |
via internal |
|
|
|
|
rule'} | 'Inherit: Same |
|
|
|
|
|
as input' | 'Inherit: |
|
|
|
|
|
Same as |
product output' |
|
|
|
|
| 'int8' | 'uint8' | |
|
|
|
|
|
'int16' |
| 'uint16' | |
|
|
|
|
'int32' |
| 'uint32' | |
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
|
|
|
|
|
8-123

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
StateDataTypeStr |
State data type |
string — 'Inherit: |
Same |
|
|
|
|
as input' | {'Inherit: |
|
|
|
|
|
Same as accumulator'} |
|
|
|
|
|
| '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)' |
|
|
|
|
|
| 'fixdt(1,16,0)' |
|
|
|
LockScale |
Lock data type settings against |
string — {'off'} | 'on' |
|
|
|
|
changes by the fixed-point |
|
|
|
|
|
tools |
|
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
|
Overflow |
|
|
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
|
by leading denominator |
|
|
|
|
|
coefficient (a0) |
|
|
|
8-124

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
NumCoefMin |
Numerator coefficient |
string — {'[]'} |
|
|
|
|
minimum |
|
|
|
|
NumCoefMax |
Numerator coefficient |
string — {'[]'} |
|
|
|
|
maximum |
|
|
|
|
DenCoefMin |
Denominator coefficient |
string — {'[]'} |
|
|
|
|
minimum |
|
|
|
|
DenCoefMax |
Denominator coefficient |
string — {'[]'} |
|
|
|
|
maximum |
|
|
|
|
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 |
string — {'Inherit: |
|
|
|
|
type |
Inherit via internal |
|
|
|
|
|
rule'} | 'int8' | 'int16' |
|
|
|
|
|
| 'int32' | 'fixdt(1,16)' |
|
|
|
|
|
| 'fixdt(1,16,0)' |
|
|
|
DenCoefDataTypeStr |
Denominator coefficient data |
string — {'Inherit: |
|
|
|
|
type |
Inherit via internal |
|
|
|
|
|
rule'} | 'int8' | 'int16' |
|
|
|
|
|
| 'int32' | 'fixdt(1,16)' |
|
|
|
|
|
| 'fixdt(1,16,0)' |
|
|
|
NumProductDataTypeStr |
Numerator product output |
string — {'Inherit: |
|
|
|
|
data type |
Inherit via internal |
|
|
|
|
|
rule'} | 'Inherit: |
Same |
|
|
|
|
as input' | 'int8' | |
|
|
|
|
|
'int16' | 'int32' | |
|
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
|
|
|
|
|
8-125

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
DenProductDataTypeStr |
Denominator product output |
string — {'Inherit: |
|
|
|
|
data type |
Inherit via internal |
|
|
|
|
|
rule'} | 'Inherit: |
Same |
|
|
|
|
as input' | 'int8' | |
|
|
|
|
|
'int16' | 'int32' | |
|
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
NumAccumDataTypeStr |
Numerator accumulator data |
string — {'Inherit: |
|
|
|
|
type |
Inherit via internal |
|
|
|
|
|
rule'} | 'Inherit: |
Same |
|
|
|
|
as input' | 'Inherit: |
|
|
|
|
|
Same as product output' |
|
|
|
|
|
| 'int8' | 'int16' | |
|
|
|
|
|
'int32' | 'fixdt(1,16,0)' |
|
|
|
DenAccumDataTypeStr |
Denominator accumulator |
string — {'Inherit: |
|
|
|
|
data type |
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 |
string — {'off'} | 'on' |
|
|
|
|
changes by the fixed-point |
|
|
|
|
|
tools |
|
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
|
|
|
|
|
8-126

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
SaturateOnIntegerOverflow |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
StateIdentifier |
State name |
string — {''} |
|
|
StateMustResolveTo |
State name must resolve to |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
|
RTWStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
RTWStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
|
RTWStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
RTWStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
Discrete Transfer Fcn (DiscreteTransferFcn) |
|
|
|
|
Numerator |
Numerator coefficients |
vector — {'[1]'} |
|
|
|
|
|
|
8-127

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
by leading denominator |
|
|
|
|
coefficient (a0) |
|
|
|
NumCoefMin |
Numerator coefficient |
string — {'[]'} |
|
|
|
minimum |
|
|
|
NumCoefMax |
Numerator coefficient |
string — {'[]'} |
|
|
|
maximum |
|
|
|
DenCoefMin |
Denominator coefficient |
string — {'[]'} |
|
|
|
minimum |
|
|
|
DenCoefMax |
Denominator coefficient |
string — {'[]'} |
|
|
|
maximum |
|
|
|
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 |
string — {'Inherit: |
|
|
|
type |
Inherit via internal |
|
|
|
|
rule'} | 'int8' | |
|
|
|
|
'int16' | 'int32' | |
|
|
|
|
'fixdt(1,16,0)' |
|
|
DenCoefDataTypeStr |
Denominator coefficient data |
string — {'Inherit: |
|
|
|
type |
Inherit via internal |
|
|
|
|
rule'} | 'int8' | |
|
|
|
|
'int16' | 'int32' | |
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
|
|
|
8-128

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
NumProductDataTypeStr |
Numerator product output |
string — {'Inherit: |
|
|
|
|
|
data type |
Inherit |
via internal |
|
|
|
|
|
rule'} | 'Inherit: |
Same |
|
|
|
|
|
as input' | 'int8' | |
|
|
|
|
|
|
'int16' |
| 'int32' | |
|
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
|
DenProductDataTypeStr |
Denominator product output |
string — {'Inherit: |
|
|
|
|
|
data type |
Inherit |
via internal |
|
|
|
|
|
rule'} | 'Inherit: |
Same |
|
|
|
|
|
as input' | 'int8' | |
|
|
|
|
|
|
'int16' |
| 'int32' | |
|
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
|
NumAccumDataTypeStr |
Numerator accumulator data |
string — {'Inherit: |
|
|
|
|
|
type |
Inherit |
via internal |
|
|
|
|
|
rule'} | 'Inherit: |
Same |
|
|
|
|
|
as input' | 'Inherit: |
|
||
|
|
|
Same as |
product output' |
|
|
|
|
|
| 'int8' | 'int16' | |
|
|
|
|
|
|
'int32' |
| 'fixdt(1,16,0)' |
|
|
|
DenAccumDataTypeStr |
Denominator accumulator |
string — {'Inherit: |
|
|
|
|
|
data type |
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)' |
|
|
|
|
|
|
|
|
|
|
8-129

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
LockScale |
Lock data type settings against |
string — {'off'} | 'on' |
|
|
|
changes by the fixed-point |
|
|
|
|
tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
StateIdentifier |
State name |
string — {''} |
|
|
StateMustResolveTo |
State name must resolve to |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
|
RTWStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
RTWStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
|
RTWStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
|
|
|
|
8-130

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
RTWStateStorageType |
Code generation storage type |
string — {''} |
|
|
|
Qualifier |
qualifier |
|
|
|
|
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 |
string — 'State only (most |
|
|
|
|
and reset value for |
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' |
|
|
|
|
|
|
|
|
8-131

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ShowStatePort |
Show state port |
string — {'off'} | 'on' |
|
|
IgnoreLimit |
Ignore limit and reset when |
string — {'off'} | 'on' |
|
|
|
linearizing |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
StateIdentifier |
State name |
string — {''} |
|
|
StateMustResolveTo |
State name must resolve to |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
8-132

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RTWStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
RTWStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
First-Order Hold (First-Order Hold) (masked subsystem) |
|
|
|
|
Ts |
Sample time |
string — {'1'} |
|
|
Memory (Memory) |
|
|
|
|
X0 |
Initial condition |
scalar or vector — {'0'} |
|
|
InheritSampleTime |
Inherit sample time |
string — {'off'} | 'on' |
|
|
LinearizeMemory |
Direct feedthrough of input |
string — {'off'} | 'on' |
|
|
|
during linearization |
|
|
|
LinearizeAsDelay |
Treat as a unit delay when |
string — {'off'} | 'on' |
|
|
|
linearizing with discrete |
|
|
|
|
sample time |
|
|
|
StateIdentifier |
State name |
string — {''} |
|
|
StateMustResolveTo |
State name must resolve to |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
|
RTWStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
RTWStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
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'} |
|
|
|
|
|
|
8-133

8 Model and Block Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
DelayOrder |
Order output vector starting |
string — {'Oldest'} | |
|
|
|
with |
'Newest' |
|
|
includeCurrent |
Include current input in |
string — {'off'} | 'on' |
|
|
|
output vector |
|
|
|
Transfer Fcn First Order (First Order Transfer Fcn) (masked subsystem) |
|
||
|
PoleZ |
Pole (in Z plane) |
string — {'0.95'} |
|
|
ICPrevOutput |
Initial condition for previous |
string — {'0.0'} |
|
|
|
output |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
Transfer Fcn Lead or Lag (Lead or Lag Compensator) (masked subsystem) |
|
||
|
PoleZ |
Pole of compensator (in Z |
string — {'0.95'} |
|
|
|
plane) |
|
|
|
ZeroZ |
Zero of compensator (in Z |
string — {'0.75'} |
|
|
|
plane) |
|
|
|
ICPrevOutput |
Initial condition for previous |
string — {'0.0'} |
|
|
|
output |
|
|
|
ICPrevInput |
Initial condition for previous |
string — {'0.0'} |
|
|
|
input |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
8-134

Block-Specific Parameters
Discrete Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Transfer Fcn Real Zero (Transfer Fcn Real Zero) (masked subsystem) |
|
||
|
ZeroZ |
Zero (in Z plane) |
string — {'0.75'} |
|
|
ICPrevInput |
Initial condition for previous |
string — {'0.0'} |
|
|
|
input |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
Unit Delay (UnitDelay) |
|
|
|
|
InitialCondition |
Initial condition |
scalar or vector — {'0'} |
|
|
InputProcessing |
Input processing |
string — 'Columns as |
|
|
|
|
channels (frame based)' | |
|
|
|
|
{'Elements as channels |
|
|
|
|
(sample based)'} | |
|
|
|
|
'Inherited' |
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
StateName |
State name |
string — {''} |
|
|
StateMustResolveTo |
State name must resolve to |
string — {'off'} | 'on' |
|
|
SignalObject |
Simulink signal object |
|
|
|
CodeGenStateStorageClass |
Code generation storage class |
string — {'Auto'} | |
|
|
|
|
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
CodeGenStateStorageType |
Code generation storage type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
Zero-Order Hold (ZeroOrderHold) |
|
|
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'1'} |
|
|
|
|
|
|
8-135

8 Model and Block Parameters
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 |
string — {'0'} |
|
|
|
significant) |
|
|
|
Bit Set (Bit Set) (masked subsystem) |
|
|
|
|
iBit |
Index of bit (0 is least |
string — {'0'} |
|
|
|
significant) |
|
|
|
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'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
ZeroCross |
Enable zero-crossing detection |
string — 'off' | {'on'} |
|
|
Compare To Zero (Compare To Zero) (masked subsystem) |
|
|
|
|
|
|
|
|
8-136

Block-Specific Parameters
Logic and Bit Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
relop |
Operator |
string — '==' | '~=' | '<' |
|
|
|
|
| {'<='} | '>=' | '>' |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
ZeroCross |
Enable zero-crossing detection |
string — 'off' | {'on'} |
|
|
Detect Change (Detect Change) (masked subsystem) |
|
|
|
|
vinit |
Initial condition |
string — {'0'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
Detect Decrease (Detect Decrease) (masked subsystem) |
|
|
|
|
vinit |
Initial condition |
string — {'0.0'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
Detect Fall Negative (Detect Fall Negative) (masked subsystem) |
|
||
|
vinit |
Initial condition |
string — {'0'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
Detect Fall Nonpositive (Detect Fall Nonpositive) (masked subsystem) |
|
||
|
vinit |
Initial condition |
string — {'0'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
Detect Increase (Detect Increase) (masked subsystem) |
|
|
|
|
vinit |
Initial condition |
string — {'0.0'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
Detect Rise Nonnegative (Detect Rise Nonnegative) (masked subsystem) |
|
||
|
vinit |
Initial condition |
string — {'0'} |
|
|
|
|
|
|
8-137

8 Model and Block Parameters
Logic and Bit Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
Detect Rise Positive (Detect Rise Positive) (masked subsystem) |
|
||
|
vinit |
Initial condition |
string — {'0'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
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 |
string — {'[0 7]'} |
|
|
|
relative to LSB) |
|
|
|
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'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
|
|
|
|
Interval Test Dynamic (Interval Test Dynamic) (masked subsystem)
8-138

Block-Specific Parameters
Logic and Bit Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
IntervalClosedRight |
Interval closed on right |
string — 'off' | {'on'} |
|
|
IntervalClosedLeft |
Interval closed on left |
string — 'off' | {'on'} |
|
|
OutDataTypeStr |
Output data type |
string — {'boolean'} | |
|
|
|
|
'uint8' |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
to have the same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
8-139

8 Model and Block Parameters
Logic and Bit Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
|
Values |
|
||
|
OutDataTypeStr |
Output data type |
|
string — 'Inherit: |
|
||
|
|
|
|
|
|
Logical (see |
|
|
|
|
|
|
|
Configuration Parameters: |
|
|
|
|
|
|
|
Optimization)' |
|
|
|
|
|
|
|
| {'boolean'} | |
|
|
|
|
|
|
|
'fixdt(1,16)' |
|
|
Shift Arithmetic (ArithShift) |
|
|
|
|
|
|
|
BitShiftNumberSource |
Bits to shift > Source |
|
string — {'Dialog'} | |
|
||
|
|
|
|
|
|
'Input port' |
|
|
BitShiftDirection |
Bits to shift > Direction |
|
string — 'Left' | 'Right' |
|
||
|
|
|
|
|
|
| {'Bidirectional'} |
|
|
BitShiftNumber |
Bits to shift > Number |
|
string — {'8'} |
|
||
|
BinPtShiftNumber |
Binary points to shift > |
|
string — {'0'} |
|
||
|
|
|
Number |
|
|
|
|
|
DiagnosticForOORShift |
Diagnostic for out-of-range |
|
string — {'None'} | |
|
||
|
|
|
shift value |
|
'Warning' | 'Error' |
|
|
|
CheckOORBitShift |
Check for out-of-range ’Bits to |
string — {'off'} | 'on' |
|
|||
|
|
|
shift’ in generated code |
|
|
|
|
|
nBitShiftRight |
Deprecated in R2011a |
|
|
|
||
|
nBinPtShiftRight |
Deprecated in R2011a |
|
|
|
||
|
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)' |
|
|
|
|
|
|
|
|
|
|
8-140

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
NumDataPoints |
Number of data points for |
string — {'(2^5)+1'} |
|
|
|
lookup table |
|
|
|
OutputWordLength |
Output word length |
string — {'16'} |
|
|
Direct Lookup Table (n-D) (LookupNDDirect) |
|
|
|
|
NumberOfTableDimensions |
Number of table |
string — '1' | {'2'} | '3' | |
|
|
|
dimensions |
'4' |
|
|
InputsSelectThisObject |
Inputs select this object |
string — {'Element'} | 'Column' |
|
|
FromTable |
from table |
| '2-D Matrix' |
|
|
TableIsInput |
Make table an input |
string — {'off'} | 'on' |
|
|
Table |
Table data |
string — {'[4 5 6;16 19 20;10 |
|
|
|
|
18 23]'} |
|
|
DiagnosticForOutOfRange |
Diagnostic for out-of-range |
string — 'None' | {'Warning'} | |
|
|
Input |
input |
'Error' |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
TableMin |
Table minimum |
string — {'[]'} |
|
|
TableMax |
Table maximum |
string — {'[]'} |
|
|
TableDataTypeStr |
Table data type |
string — {'Inherit: Inherit |
|
|
|
|
from 'Table data''} | |
|
|
|
|
'double' | 'single' | |
|
|
|
|
'int8' | 'uint8' | 'int16' | |
|
|
|
|
'uint16' | 'int32' | 'uint32' |
|
|
|
|
| 'boolean' | 'fixdt(1,16)' |
|
|
|
|
| 'fixdt(1,16,0)' | |
|
|
|
|
'fixdt(1,16,2^0,0)' |
|
|
LockScale |
Lock data type settings |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
maskTabDims |
Deprecated in R2009b |
|
|
|
explicitNumDims |
Deprecated in R2009b |
|
|
|
|
|
|
|
8-141

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
outDims |
Deprecated in R2009b |
|
|
|
tabIsInput |
Deprecated in R2009b |
|
|
|
mxTable |
Deprecated in R2009b |
|
|
|
clipFlag |
Deprecated in R2009b |
|
|
|
samptime |
Deprecated in R2009b |
|
|
|
Interpolation Using Prelookup (Interpolation_n-D) |
|
|
|
|
NumberOfTableDimensions |
Number of table |
string — '1' | {'2'} | '3' | |
|
|
|
dimensions |
'4' |
|
|
Table |
Table data > Value |
string — {'sqrt([1:11]' * |
|
|
|
|
[1:11])'} |
|
|
TableSource |
Table data > Source |
string — {'Dialog'} | 'Input |
|
|
|
|
port' |
|
|
InterpMethod |
Interpolation method |
string — 'Flat' | {'Linear'} |
|
|
ExtrapMethod |
Extrapolation method |
string — 'Clip' | {'Linear'} |
|
|
ValidIndexMayReachLast |
Valid index input may |
string — {'off'} | 'on' |
|
|
|
reach last index |
|
|
|
DiagnosticForOutOfRange |
Diagnostic for out-of-range |
string — {'None'} | 'Warning' | |
|
|
Input |
input |
'Error' |
|
|
RemoveProtectionIndex |
Remove protection against |
string — {'off'} | 'on' |
|
|
|
out-of-range index in |
|
|
|
|
generated code |
|
|
|
NumSelectionDims |
Number of sub-table |
string — {'0'} |
|
|
|
selection dimensions |
|
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
8-142

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
TableDataTypeStr |
Table data > 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)' |
|
|
|
|
TableMin |
Table data > Minimum |
string — {'[]'} |
|
|
|
|
TableMax |
Table data > Maximum |
string — {'[]'} |
|
|
|
|
IntermediateResults |
Intermediate results > |
string — {'Inherit: |
Inherit |
|
|
|
DataTypeStr |
Data Type |
via internal rule'} | |
|
||
|
|
|
'Inherit: |
Same as output' |
|
|
|
|
|
| 'double' | 'single' | |
|
||
|
|
|
'int8' | 'uint8' | 'int16' |
|
||
|
|
|
| 'uint16' | 'int32' | |
|
||
|
|
|
'uint32' | 'fixdt(1,16,0)' |
|
||
|
|
|
| 'fixdt(1,16,2^0,0)' |
|
||
|
OutDataTypeStr |
Output > Data Type |
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)' |
|
||
|
OutMin |
Output > Minimum |
string — {'[]'} |
|
|
|
|
OutMax |
Output > Maximum |
string — {'[]'} |
|
|
|
|
LockScale |
Lock data type settings |
string — {'off'} | 'on' |
|
||
|
|
against changes by the |
|
|
|
|
|
|
fixed-point tools |
|
|
|
|
8-143

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer |
string — {'off'} | 'on' |
|
|
Overflow |
overflow |
|
|
|
CheckIndexInCode |
Deprecated in R2011a |
|
|
|
1-D Lookup Table (Lookup_n-D) |
|
|
|
|
NumberOfTableDimensions |
Number of table |
string — {'1'} | '2' | '3' | |
|
|
|
dimensions |
'4' |
|
|
Table |
Table data |
string — {'tanh([-5:5])'} |
|
|
BreakpointsForDimension1 |
Breakpoints 1 |
string — {'[-5:5]'} |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
InterpMethod |
Interpolation method |
string — 'Flat' | {'Linear'} | |
|
|
|
|
'Cubic spline' |
|
|
ExtrapMethod |
Extrapolation method |
string — 'Clip' | {'Linear'} | |
|
|
|
|
'Cubic spline' |
|
|
UseLastTableValue |
Use last table value for |
string — {'off'} | 'on' |
|
|
|
inputs at or above last |
|
|
|
|
breakpoint |
|
|
|
IndexSearchMethod |
Index search method |
string — 'Evenly spaced points' |
|
|
|
|
| 'Linear search' | {'Binary |
|
|
|
|
search'} |
|
|
BeginIndexSearchUsing |
Begin index search using |
string — {'off'} | 'on' |
|
|
PreviousIndexResult |
previous index result |
|
|
|
UseOneInputPortForAll |
Use one input port for all |
string — {'off'} | 'on' |
|
|
InputData |
input data |
|
|
|
DiagnosticForOutOfRange |
Diagnostic for out-of-range |
string — {'None'} | 'Warning' | |
|
|
Input |
input |
'Error' |
|
8-144

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
|
RemoveProtectionInput |
Remove protection against |
string — {'off'} | 'on' |
|
|||
|
|
out-of-range input in |
|
|
|
|
|
|
|
generated code |
|
|
|
|
|
|
TableDataTypeStr |
Table data > 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)' |
|
|
||
|
TableMin |
Table data > Minimum |
string — {'[]'} |
|
|
|
|
|
TableMax |
Table data > Maximum |
string — {'[]'} |
|
|
|
|
|
BreakpointsForDimension1 |
Breakpoints 1 > Data Type |
string — {'Inherit: |
Same |
|
||
|
DataTypeStr |
|
as corresponding input'} |
|
|||
|
|
|
| 'Inherit: |
Inherit |
|
||
|
|
|
from 'Breakpoint data'' |
|
|||
|
|
|
| 'double' | 'single' | |
|
|||
|
|
|
|
|
|||
|
BreakpointsForDimension1 |
Breakpoints 1 > Minimum |
'int8' | 'uint8' | 'int16' |
|
|||
|
string — {'[]'} |
|
|
|
|||
|
Min |
|
| 'uint16' | 'int32' | |
|
|||
|
|
'uint32' | 'fixdt(1,16)' |
|
||||
|
|
|
|
||||
|
BreakpointsForDimension1 |
Breakpoints 1 > Maximum |
str| 'fixdt(1,16,0)'ing — {'[]'} |
| |
|
|
|
|
Max |
|
'fixdt(1,16,2^0,0)' |
|
|
||
|
FractionDataTypeStr |
Fraction > Data Type |
string — {'Inherit: |
|
Inherit |
|
|
|
|
|
via internal rule'} | |
|
|||
|
|
|
'double' | 'single' | |
|
|||
|
|
|
'fixdt(1,16,0)' |
|
|
|
|
|
|
|
|
|
|
|
|
8-145

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
IntermediateResults |
Intermediate results > |
string — 'Inherit: |
Inherit via |
|
|
DataTypeStr |
Data Type |
internal rule' | {'Inherit: |
|
|
|
|
|
Same as output'} | 'double' | |
|
|
|
|
|
'single' | 'int8' | 'uint8' | |
|
|
|
|
|
'int16' | 'uint16' | 'int32' |
|
|
|
|
|
| 'uint32' | 'fixdt(1,16,0)' |
|
|
|
|
|
| 'fixdt(1,16,2^0,0)' |
|
|
|
OutDataTypeStr |
Output > Data Type |
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 |
string — 'off' | {'on'} |
|
|
|
|
the same data type |
|
|
|
|
LockScale |
Lock data type settings |
string — {'off'} | 'on' |
|
|
|
|
against changes by the |
|
|
|
|
|
fixed-point tools |
|
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
|
'Convergent' | 'Floor' |
|
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
|
{'Simplest'} | 'Zero' |
|
|
|
SaturateOnInteger |
Saturate on integer |
string — {'off'} | 'on' |
|
|
|
Overflow |
overflow |
|
|
|
|
2-D Lookup Table (Lookup_n-D) |
|
|
|
|
|
NumberOfTableDimensions |
Number of table |
string — '1' | {'2'} | '3' | |
|
|
|
|
dimensions |
'4' |
|
|
8-146

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Table |
Table data |
string — {'[4 5 6;16 19 20;10 |
|
|
|
|
18 23]'} |
|
|
BreakpointsForDimension1 |
Breakpoints 1 |
string — {'[1:3]'} |
|
|
BreakpointsForDimension2 |
Breakpoints 2 |
string — {'[1:3]'} |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
InterpMethod |
Interpolation method |
string — 'Flat' | {'Linear'} | |
|
|
|
|
'Cubic spline' |
|
|
ExtrapMethod |
Extrapolation method |
string — 'Clip' | {'Linear'} | |
|
|
|
|
'Cubic spline' |
|
|
UseLastTableValue |
Use last table value for |
string — {'off'} | 'on' |
|
|
|
inputs at or above last |
|
|
|
|
breakpoint |
|
|
|
IndexSearchMethod |
Index search method |
string — 'Evenly spaced points' |
|
|
|
|
| 'Linear search' | {'Binary |
|
|
|
|
search'} |
|
|
BeginIndexSearchUsing |
Begin index search using |
string — {'off'} | 'on' |
|
|
PreviousIndexResult |
previous index result |
|
|
|
UseOneInputPortForAll |
Use one input port for all |
string — {'off'} | 'on' |
|
|
InputData |
input data |
|
|
|
DiagnosticForOutOfRange |
Diagnostic for out-of-range |
string — {'None'} | 'Warning' | |
|
|
Input |
input |
'Error' |
|
|
RemoveProtectionInput |
Remove protection against |
string — {'off'} | 'on' |
|
|
|
out-of-range input in |
|
|
|
|
generated code |
|
|
8-147

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
|
TableDataTypeStr |
Table data > 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)' |
|
|
||
|
TableMin |
Table data > Minimum |
string — {'[]'} |
|
|
|
|
|
TableMax |
Table data > Maximum |
string — {'[]'} |
|
|
|
|
|
BreakpointsForDimension1 |
Breakpoints 1 > Data Type |
string — {'Inherit: |
Same |
|
||
|
DataTypeStr |
|
as corresponding input'} |
|
|||
|
|
|
| 'Inherit: |
Inherit |
|
||
|
|
|
from 'Breakpoint data'' |
|
|||
|
|
|
| 'double' | 'single' | |
|
|||
|
|
|
|
|
|||
|
BreakpointsForDimension1 |
Breakpoints 1 > Minimum |
'int8' | 'uint8' | 'int16' |
|
|||
|
string — {'[]'} |
|
|
|
|||
|
Min |
|
| 'uint16' | 'int32' | |
|
|||
|
|
'uint32' | 'fixdt(1,16)' |
|
||||
|
|
|
|
||||
|
BreakpointsForDimension1 |
Breakpoints 1 > Maximum |
string| 'fixdt(1,16,0)'— {'[]'} |
| |
|
|
|
|
Max |
|
'fixdt(1,16,2^0,0)' |
|
|
||
|
BreakpointsForDimension2 |
Breakpoints 2 > Data Type |
string — {'Inherit: |
Same |
|
||
|
DataTypeStr |
|
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 — {'[]'} |
|
|
|
|
|
Min |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8-148

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
BreakpointsForDimension2 |
Breakpoints 2 > Maximum |
string — {'[]'} |
|
|
|
Max |
|
|
|
|
|
FractionDataTypeStr |
Fraction > Data Type |
string — {'Inherit: |
Inherit |
|
|
|
|
via internal rule'} | |
|
|
|
|
|
'double' | 'single' | |
|
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
IntermediateResults |
Intermediate results > |
string — 'Inherit: |
Inherit via |
|
|
DataTypeStr |
Data Type |
internal rule' | {'Inherit: |
|
|
|
|
|
Same as output'} | 'double' | |
|
|
|
|
|
'single' | 'int8' | 'uint8' | |
|
|
|
|
|
'int16' | 'uint16' | 'int32' |
|
|
|
|
|
| 'uint32' | 'fixdt(1,16,0)' |
|
|
|
|
|
| 'fixdt(1,16,2^0,0)' |
|
|
|
OutDataTypeStr |
Output > Data Type |
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 |
string — 'off' | {'on'} |
|
|
|
|
the same data type |
|
|
|
|
LockScale |
Lock data type settings |
string — {'off'} | 'on' |
|
|
|
|
against changes by the |
|
|
|
|
|
fixed-point tools |
|
|
|
8-149

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
|
|
|
RndMeth |
|
Integer rounding mode |
string — 'Ceiling' | |
|
||||
|
|
|
|
'Convergent' | 'Floor' |
|
||||
|
|
|
|
| 'Nearest' | 'Round' | |
|
||||
|
|
|
|
{'Simplest'} | 'Zero' |
|
||||
|
SaturateOnInteger |
|
Saturate on integer |
string — {'off'} | 'on' |
|
||||
|
Overflow |
|
overflow |
|
|
|
|
|
|
|
n-D Lookup Table (Lookup_n-D) |
|
|
|
|
|
|
||
|
NumberOfTableDimensions |
|
Number of table |
string — '1' | '2' | {'3'} | |
|
||||
|
|
|
dimensions |
'4' |
|
|
|
|
|
|
Table |
|
Table data |
string — {'reshape(repmat([4 |
|
||||
|
|
|
|
5 |
6;16 |
19 |
20;10 |
18 |
|
|
|
|
|
23],1,2),[3,3,2])'} |
|
||||
|
BreakpointsForDimension1 |
|
Breakpoints 1 |
string — {'[10,22,31]'} |
|
||||
|
BreakpointsForDimension2 |
|
Breakpoints 2 |
string — {'[10,22,31]'} |
|
||||
|
BreakpointsForDimension3 |
|
Breakpoints 3 |
string — {'[5, 7]'} |
|
||||
|
... |
|
... |
... |
|
|
|
|
|
|
BreakpointsForDimension30 |
|
Breakpoints 30 |
string — {'[1:3]'} |
|
||||
|
SampleTime |
|
Sample time (-1 for |
string — {'-1'} |
|
|
|||
|
|
|
inherited) |
|
|
|
|
|
|
|
InterpMethod |
|
Interpolation method |
string — 'Flat' | {'Linear'} | |
|
||||
|
|
|
|
'Cubic spline' |
|
|
|||
|
ExtrapMethod |
|
Extrapolation method |
string — 'Clip' | {'Linear'} | |
|
||||
|
|
|
|
'Cubic spline' |
|
|
|||
|
UseLastTableValue |
|
Use last table value for |
string — {'off'} | 'on' |
|
||||
|
|
|
inputs at or above last |
|
|
|
|
|
|
|
|
|
breakpoint |
|
|
|
|
|
|
|
DiagnosticForOutOfRange |
|
Diagnostic for out-of-range |
string — {'None'} | 'Warning' | |
|
||||
|
Input |
|
input |
'Error' |
|
|
|
|
8-150

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
RemoveProtectionInput |
Remove protection against |
string — {'off'} | 'on' |
|
||
|
|
out-of-range input in |
|
|
|
|
|
|
generated code |
|
|
|
|
|
IndexSearchMethod |
Index search method |
string — 'Evenly spaced points' |
|
||
|
|
|
| 'Linear search' | {'Binary |
|
||
|
|
|
search'} |
|
|
|
|
BeginIndexSearchUsing |
Begin index search using |
string — {'off'} | 'on' |
|
||
|
PreviousIndexResult |
previous index result |
|
|
|
|
|
UseOneInputPortForAll |
Use one input port for all |
string — {'off'} | 'on' |
|
||
|
InputData |
input data |
|
|
|
|
|
SupportTunableTableSize |
Support tunable table size |
string — {'off'} | 'on' |
|
||
|
|
in code generation |
|
|
|
|
|
MaximumIndicesForEach |
Maximum indices for each |
string — {'[]'} |
|
|
|
|
Dimension |
dimension |
|
|
|
|
|
TableDataTypeStr |
Table data > 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)' |
|
|
|
|
TableMin |
Table data > Minimum |
string — {'[]'} |
|
|
|
|
TableMax |
Table data > Maximum |
string — {'[]'} |
|
|
|
|
BreakpointsForDimension1 |
Breakpoints 1 > Data Type |
string — {'Inherit: |
Same |
|
|
|
DataTypeStr |
|
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)' |
|
|
8-151

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
BreakpointsForDimension1 |
Breakpoints 1 > Minimum |
string — {'[]'} |
|
|
|
|
Min |
|
|
|
|
|
|
BreakpointsForDimension1 |
Breakpoints 1 > Maximum |
string — {'[]'} |
|
|
|
|
Max |
|
|
|
|
|
|
BreakpointsForDimension2 |
Breakpoints 2 > Data Type |
string — {'Inherit: |
Same |
|
|
|
DataTypeStr |
|
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 — {'[]'} |
|
|
|
|
Min |
|
|
|
|
|
|
BreakpointsForDimension2 |
Breakpoints 2 > Maximum |
string — {'[]'} |
|
|
|
|
Max |
|
|
|
|
|
|
... |
... |
... |
|
|
|
|
BreakpointsForDimension30 |
Breakpoints 30 > Data |
string — {'Inherit: |
Same |
|
|
|
DataTypeStr |
Type |
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 > |
string — {'[]'} |
|
|
|
|
Min |
Minimum |
|
|
|
|
8-152

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
BreakpointsForDimension30 |
|
Breakpoints 30 > |
string — {'[]'} |
|
|
|
Max |
|
Maximum |
|
|
|
|
FractionDataTypeStr |
|
Fraction > Data Type |
string — {'Inherit: |
Inherit |
|
|
|
|
|
via internal rule'} | |
|
|
|
|
|
|
'double' | 'single' | |
|
|
|
|
|
|
'fixdt(1,16,0)' |
|
|
|
IntermediateResults |
|
Intermediate results > |
string — 'Inherit: |
Inherit via |
|
|
DataTypeStr |
|
Data Type |
internal rule' | {'Inherit: |
|
|
|
|
|
|
Same as output'} | 'double' | |
|
|
|
|
|
|
'single' | 'int8' | 'uint8' | |
|
|
|
|
|
|
'int16' | 'uint16' | 'int32' |
|
|
|
|
|
|
| 'uint32' | 'fixdt(1,16,0)' |
|
|
|
|
|
|
| 'fixdt(1,16,2^0,0)' |
|
|
|
OutDataTypeStr |
|
Output > Data Type |
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 |
string — 'off' | {'on'} |
|
|
|
|
|
the same data type |
|
|
|
|
LockScale |
|
Lock data type settings |
string — {'off'} | 'on' |
|
|
|
|
|
against changes by the |
|
|
|
|
|
|
fixed-point tools |
|
|
|
8-153

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | 'Floor' |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
{'Simplest'} | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer |
string — {'off'} | 'on' |
|
|
Overflow |
overflow |
|
|
|
ProcessOutOfRangeInput |
Deprecated in R2009b |
|
|
|
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' | 'double' |
|
|
|
|
| 'single' | 'int8' | |
|
|
|
|
'uint8' | 'int16' | 'uint16' |
|
|
|
|
| 'int32' | 'uint32' | |
|
|
|
|
'boolean' | 'fixdt(1,16,0)' | |
|
|
|
|
'fixdt(1,16,2^0,0)' |
|
|
OutputDataTypeScaling |
Deprecated in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
LockScale |
Lock output data type |
string — {'off'} | 'on' |
|
|
|
setting against changes by |
|
|
|
|
the fixed-point tools |
|
|
8-154

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round'| |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min |
string — {'off'} | 'on' |
|
|
|
when overflows occur |
|
|
|
Prelookup (PreLookup) |
|
|
|
|
BreakpointsData |
Breakpoint data > Value |
string — {'[10:10:110]'} |
|
|
BreakpointsDataSource |
Breakpoint data > Source |
string — {'Dialog'} | 'Input |
|
|
|
|
port' |
|
|
IndexSearchMethod |
Index search method |
string — 'Evenly spaced points' |
|
|
|
|
| 'Linear search' | {'Binary |
|
|
|
|
search'} |
|
|
BeginIndexSearchUsing |
Begin index search using |
string — {'off'} | 'on' |
|
|
PreviousIndexResult |
previous index result |
|
|
|
OutputOnlyTheIndex |
Output only the index |
string — {'off'} | 'on' |
|
|
ExtrapMethod |
Extrapolation method |
string — 'Clip' | {'Linear'} |
|
|
UseLastBreakpoint |
Use last breakpoint for |
string — {'off'} | 'on' |
|
|
|
input at or above upper |
|
|
|
|
limit |
|
|
|
DiagnosticForOutOfRange |
Diagnostic for out-of-range |
string — {'None'} | 'Warning' | |
|
|
Input |
input |
'Error' |
|
|
RemoveProtectionInput |
Remove protection against |
string — {'off'} | 'on' |
|
|
|
out-of-range input in |
|
|
|
|
generated code |
|
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
8-155

8 Model and Block Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
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)' |
|
|
|
BreakpointMin |
Breakpoint > Minimum |
string — {'[]'} |
|
|
|
BreakpointMax |
Breakpoint > Maximum |
string — {'[]'} |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
|
setting against changes by |
|
|
|
|
|
the fixed-point tools |
|
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
ProcessOutOfRangeInput |
Deprecated in R2011a |
|
|
|
|
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)' |
|
|
|
|
|
|
|
|
8-156

Block-Specific Parameters
Lookup Tables Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
NumDataPoints |
Number of data points for |
string — {'(2^5)+1'} |
|
|
|
lookup table |
|
|
|
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'} |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
|
|
|
8-157

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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 — {'[]'} |
|
|
|
|
|
|
8-158

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
changes by the fixed-point |
|
|
|
|
tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
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'} |
|
|
|
|
|
|
8-159

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
OutputInitialize |
Initialize output (Y) |
string — {'Initialize |
|
|
|
|
using input port <Y0>'} |
|
|
|
|
| 'Specify size for each |
|
|
|
|
dimension in table' |
|
|
IndexOptionArray |
Index Option |
string — 'Assign all' | |
|
|
|
|
{'Index vector (dialog)'} |
|
|
|
|
| 'Index vector (port)' | |
|
|
|
|
'Starting index (dialog)' |
|
|
|
|
| 'Starting index (port)' |
|
|
IndexParamArray |
Index |
cell array |
|
|
OutputSizeArray |
Output Size |
cell array |
|
|
DiagnosticForDimensions |
Action if any output element |
string — 'Error' | |
|
|
|
is not assigned |
'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' |
|
|
Overflow |
|
|
|
|
|
|
|
|
Complex to Magnitude-Angle (ComplexToMagnitudeAngle)
8-160

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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)' |
|
|
|
|
|
|
8-161

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
Dot Product (DotProduct) |
|
|
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
InputSameDT |
Require all inputs to have |
string — 'off' | {'on'} |
|
|
|
same data type |
|
|
|
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 in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
|
|
|
|
8-162

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
Find (Find) |
|
|
|
|
IndexOutputFormat |
Index output format |
string — {'Linear indices'} |
|
|
|
|
| 'Subscripts' |
|
|
NumberOfInputDimensions |
Number of input dimensions |
integer — {'1'} |
|
|
IndexMode |
Index mode |
string — {'Zero-based'} | |
|
|
|
|
'One-based' |
|
|
ShowOutputForNonzero |
Show output port for nonzero |
string — {'off'} | 'on' |
|
|
InputValues |
input values |
|
|
|
SampleTime |
Sample time (–1 for inherited) |
string — {'-1'} |
|
|
OutDataTypeStr |
Output data type |
string — {'Inherit: |
|
|
|
|
Inherit via internal |
|
|
|
|
rule'} | 'int8' | 'uint8' |
|
|
|
|
| 'int16' | 'uint16' | |
|
|
|
|
'int32' | 'uint32' | |
|
|
|
|
'fixdt(1,16)' |
|
|
Gain (Gain) |
|
|
|
|
Gain |
Gain |
string — {'1'} |
|
|
|
|
|
|
8-163

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
ParamMin |
Parameter minimum |
string — {'[]'} |
|
|
ParamMax |
Parameter maximum |
string — {'[]'} |
|
|
|
|
|
|
8-164

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ParamDataTypeStr |
Parameter data type |
string — {'Inherit: |
|
|
|
|
Inherit via internal |
|
|
|
|
rule'} | 'Inherit: Same |
|
|
|
|
as input' | 'Inherit: |
|
|
|
|
Inherit from 'Gain'' |
|
|
|
|
| 'double' | 'single' |
|
|
|
|
| 'int8' | 'uint8' |
|
|
|
|
| 'int16' | 'uint16' |
|
|
|
|
| 'int32' | 'uint32' |
|
|
|
|
| 'fixdt(1,16)' | |
|
|
|
|
'fixdt(1,16,0)' | |
|
|
|
|
'fixdt(1,16,2^0,0)' |
|
|
Magnitude-Angle to Complex (MagnitudeAngleToComplex) |
|
|
|
|
Input |
Input |
string — 'Magnitude' | |
|
|
|
|
'Angle' | {'Magnitude and |
|
|
|
|
angle'} |
|
|
ConstantPart |
Magnitude or Angle |
string — {'0'} |
|
|
ApproximationMethod |
Approximation method |
string — {'None'} | |
|
|
|
|
'CORDIC' |
|
|
NumberOfIterations |
Number of iterations |
string — {'11'} |
|
|
ScaleReciprocalGainFactor |
Scale output by reciprocal of |
string — 'off' | {'on'} |
|
|
|
gain factor |
|
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
Math Function (Math) |
|
|
|
|
Operator |
Function |
string — {'exp'} | 'log' |
|
|
|
|
| '10^u' | 'log10' | |
|
|
|
|
'magnitude^2' | 'square' |
|
|
|
|
| 'pow' | 'conj' | |
|
|
|
|
'reciprocal' | 'hypot' |
|
|
|
|
| 'rem' | 'mod' | |
|
|
|
|
'transpose' | 'hermitian' |
|
|
|
|
|
|
8-165

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — 'off' | {'on'} |
|
|
Overflow |
|
|
|
|
Matrix Concatenate (Concatenate) |
|
|
|
|
NumInputs |
Number of inputs |
string — {'2'} |
|
|
Mode |
Mode |
string — 'Vector' | |
|
|
|
|
{'Multidimensional |
|
|
|
|
array'} |
|
|
|
|
|
|
8-166

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
|
|
|
|
8-167

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
OutMin |
Output minimum |
string — {'[]'} |
|
|
OutMax |
Output maximum |
string — {'[]'} |
|
|
|
|
|
|
8-168

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | 'Floor' |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | {'Zero'} |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
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'} |
|
|
|
|
|
|
8-169

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
InputSameDT |
Require all inputs to have |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
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'} |
|
|
Reciprocal Sqrt (Sqrt) |
|
|
|
|
|
|
|
|
8-170

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Operator |
Function |
string — 'sqrt' | |
|
|
|
|
'signedSqrt' | {'rSqrt'} |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — 'off' | {'on'} |
|
|
Overflow |
|
|
|
|
|
|
|
|
8-171

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
IntermediateResults |
Intermediate results data type |
string — {'Inherit: |
|
|
|
DataTypeStr |
|
Inherit via internal |
|
|
|
|
|
rule'} | 'Inherit: |
|
|
|
|
|
Inherit from |
input' |
|
|
|
|
| 'Inherit: |
Inherit |
|
|
|
|
from output' | |
|
|
|
|
|
'double' | 'single' |
|
|
|
|
|
| 'int8' | 'uint8' |
|
|
|
|
|
| 'int16' | 'uint16' |
|
|
|
|
|
| 'int32' | 'uint32' |
|
|
|
|
|
| 'fixdt(1,16,0)' | |
|
|
|
|
|
'fixdt(1,16,2^0,0)' |
|
|
|
AlgorithmType |
Method |
string — 'Exact' | |
|
|
|
|
|
{'Newton-Raphson'} |
|
|
|
Iterations |
Number of iterations |
string — {'3'} |
|
|
|
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'} |
|
|
|
|
|
|
|
|
8-172

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Signed Sqrt (Sqrt) |
|
|
|
|
Operator |
Function |
string — 'sqrt' | |
|
|
|
|
{'signedSqrt'} | 'rSqrt' |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — 'off' | {'on'} |
|
|
Overflow |
|
|
|
|
|
|
|
|
8-173

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
IntermediateResults |
Intermediate results data type |
string — {'Inherit: |
|
|
|
DataTypeStr |
|
Inherit via internal |
|
|
|
|
|
rule'} | 'Inherit: |
|
|
|
|
|
Inherit from |
input' |
|
|
|
|
| 'Inherit: |
Inherit |
|
|
|
|
from output' | |
|
|
|
|
|
'double' | 'single' |
|
|
|
|
|
| 'int8' | 'uint8' |
|
|
|
|
|
| 'int16' | 'uint16' |
|
|
|
|
|
| 'int32' | 'uint32' |
|
|
|
|
|
| 'fixdt(1,16,0)' | |
|
|
|
|
|
'fixdt(1,16,2^0,0)' |
|
|
|
AlgorithmType |
Method |
string — {'Exact'} | |
|
|
|
|
|
'Newton-Raphson' |
|
|
|
Iterations |
Number of iterations |
string — {'3'} |
|
|
|
Sine Wave Function (Sin) |
|
|
|
|
|
SineType |
Sine type |
string — {'Time based'} | |
|
|
|
|
|
'Sample based' |
|
|
|
TimeSource |
Time |
string — 'Use simulation |
|
|
|
|
|
time' | {'Use external |
|
|
|
|
|
signal'} |
|
|
|
Amplitude |
Amplitude |
string — {'1'} |
|
|
|
Bias |
Bias |
string — {'0'} |
|
|
|
Frequency |
Frequency |
string — {'1'} |
|
|
|
Phase |
Phase |
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 |
string — 'off' | {'on'} |
|
|
|
|
1-D |
|
|
|
8-174

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Slider Gain (Slider Gain) (masked subsystem) |
|
|
|
|
low |
Low |
string — {'0'} |
|
|
gain |
Gain |
string — {'1'} |
|
|
high |
High |
string — {'2'} |
|
|
Sqrt (Sqrt) |
|
|
|
|
Operator |
Function |
string — {'sqrt'} | |
|
|
|
|
'signedSqrt' | 'rSqrt' |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
8-175

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — 'off' | {'on'} |
|
|
|
Overflow |
|
|
|
|
|
IntermediateResults |
Intermediate results data type |
string — {'Inherit: |
|
|
|
DataTypeStr |
|
Inherit via internal |
|
|
|
|
|
rule'} | 'Inherit: |
|
|
|
|
|
Inherit from |
input' |
|
|
|
|
| 'Inherit: |
Inherit |
|
|
|
|
from output' | |
|
|
|
|
|
'double' | 'single' |
|
|
|
|
|
| 'int8' | 'uint8' |
|
|
|
|
|
| 'int16' | 'uint16' |
|
|
|
|
|
| 'int32' | 'uint32' |
|
|
|
|
|
| 'fixdt(1,16,0)' | |
|
|
|
|
|
'fixdt(1,16,2^0,0)' |
|
|
|
AlgorithmType |
Method |
string — {'Exact'} | |
|
|
|
|
|
'Newton-Raphson' |
|
|
|
Iterations |
Number of iterations |
string — {'3'} |
|
|
|
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'} |
|
|
|
|
|
|
|
|
8-176

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
InputSameDT |
Require all inputs to have the |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
changes by the fixed-point |
|
|
|
|
tools |
|
|
8-177

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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 — {'[]'} |
|
|
|
|
|
|
8-178

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
changes by the fixed-point |
|
|
|
|
tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
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'} |
|
|
|
|
|
|
8-179

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
InputSameDT |
Require all inputs to have the |
string — {'off'} | 'on' |
|
|
|
same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
changes by the fixed-point |
|
|
|
|
tools |
|
|
8-180

Block-Specific Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
Trigonometric Function (Trigonometry) |
|
|
|
|
Operator |
Function |
string — {'sin'} | 'cos' | |
|
|
|
|
'tan' | 'asin' | 'acos' |
|
|
|
|
| 'atan' | 'atan2' | |
|
|
|
|
'sinh' | 'cosh' | 'tanh' |
|
|
|
|
| 'asinh' | 'acosh' | |
|
|
|
|
'atanh' | 'sincos' | 'cos |
|
|
|
|
+ jsin' |
|
|
ApproximationMethod |
Approximation method |
string — {'None'} | |
|
|
|
|
'CORDIC' |
|
|
NumberOfIterations |
Number of iterations |
string — {'11'} |
|
|
OutputSignalType |
Output signal type |
string — {'auto'} | 'real' |
|
|
|
|
| 'complex' |
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
Unary Minus (UnaryMinus) |
|
|
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
Vector Concatenate (Concatenate) |
|
|
|
|
NumInputs |
Number of inputs |
string — {'2'} |
|
|
Mode |
Mode |
string — {'Vector'} | |
|
|
|
|
'Multidimensional array' |
|
|
Weighted Sample Time Math (SampleTimeMath) |
|
|
|
|
|
|
|
|
8-181

8 Model and Block Parameters
Math Operations Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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' |
|
|
Overflow |
|
|
|
|
OutputDataTypeScaling |
Deprecated in R2009b |
|
|
|
Mode |
|
|
|
|
DoSatur |
Deprecated in R2009b |
|
|
|
Model Verification Library Block Parameters |
|
|
|
|
|
|
|
|
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Assertion (Assertion) |
|
|
|
|
Enabled |
Enable assertion |
string — 'off' | {'on'} |
|
|
AssertionFailFcn |
Simulation callback when |
string — {''} |
|
|
|
assertion fails |
|
|
|
StopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
8-182

Block-Specific Parameters
Model Verification Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
8-183

8 Model and Block Parameters
Model Verification Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
export |
Output assertion signal |
string — {'off'} | 'on' |
|
|
|
|
|
|
8-184

Block-Specific Parameters
Model Verification Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
export |
Output assertion signal |
string — {'off'} | 'on' |
|
|
|
|
|
|
8-185

8 Model and Block Parameters
Model Verification Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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 |
string — {''} |
|
|
|
assertion fails (optional) |
|
|
|
stopWhenAssertionFail |
Stop simulation when |
string — 'off' | {'on'} |
|
|
|
assertion fails |
|
|
|
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)
8-186

Block-Specific Parameters
Model-Wide Utilities Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ECoderFlag |
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 — {''} |
|
|
|
|
|
|
8-187

8 Model and Block Parameters
Model-Wide Utilities Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'0'} |
|
|
|
model) |
|
|
|
Trigger-Based Linearization (Triggered Linearization) (masked subsystem) |
|
||
|
TriggerType |
Trigger type |
string — {'rising'} | |
|
|
|
|
'falling' | 'either' | |
|
|
|
|
'function-call' |
|
|
SampleTime |
Sample time (of linearized |
string — {'0'} |
|
|
|
model) |
|
|
|
Ports & Subsystems Library Block Parameters |
|
|
|
|
|
|
|
|
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Action Port (ActionPort) |
|
|
|
|
InitializeStates |
States when execution is |
string — {'held'} | 'reset' |
|
|
|
resumed |
|
|
8-188

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
PropagateVarSize |
|
Propagate sizes of |
string — {'Only when |
|
|
|
|
|
variable-size signals |
execution is resumed'} | |
|
|
|
|
|
|
|
'During execution' |
|
|
Atomic Subsystem (SubSystem) |
|
|
|
|
|
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
|
MinAlgLoopOccurrences |
|
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
|
|
occurrences |
|
|
|
|
PropExecContext |
|
Propagate execution context |
string — {'off'} | 'on' |
|
|
|
OutsideSubsystem |
|
across subsystem boundary |
|
|
8-189

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
FunctionWithSeparateData |
“Function with separate data” |
string — {'off'} | 'on' |
|
|
|
on page 2-1651 |
|
|
|
|
This parameter requires a |
|
|
|
|
license for Embedded Coder |
|
|
|
|
software and an ERT-based |
|
|
|
|
system target file. |
|
|
|
RTWMemSecFuncInitTerm |
“Memory section for |
string — {'Inherit from |
|
|
|
initialize/terminate functions” |
model'} | 'Default' | list of |
|
|
|
on page 2-1652 |
memory sections from model’s |
|
|
|
This parameter requires a |
package |
|
|
|
|
|
|
|
|
license for Embedded Coder |
|
|
|
|
software and an ERT-based |
|
|
|
|
system target file. |
|
|
8-190

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RTWMemSecFuncExecute |
“Memory section for execution |
string — {'Inherit from |
|
|
|
functions” on page 2-1654 |
model'} | 'Default' | list of |
|
|
|
This parameter requires a |
memory sections from model’s |
|
|
|
package |
|
|
|
|
license for Embedded Coder |
|
|
|
|
|
|
|
|
|
software and an ERT-based |
|
|
|
|
system target file. |
|
|
|
RTWMemSecDataConstants |
“Memory section for constants” |
string — {'Inherit from |
|
|
|
on page 2-1656 |
model'} | 'Default' | list of |
|
|
|
This parameter requires a |
memory sections from model’s |
|
|
|
package |
|
|
|
|
license for Embedded Coder |
|
|
|
|
|
|
|
|
|
software and an ERT-based |
|
|
|
|
system target file. |
|
|
|
RTWMemSecDataInternal |
“Memory section for internal |
string — {'Inherit from |
|
|
|
data” on page 2-1657 |
model'} | 'Default' | list of |
|
|
|
This parameter requires a |
memory sections from model’s |
|
|
|
package |
|
|
|
|
license for Embedded Coder |
|
|
|
|
|
|
|
|
|
software and an ERT-based |
|
|
|
|
system target file. |
|
|
|
RTWMemSecDataParameters |
“Memory section for |
string — {'Inherit from |
|
|
|
parameters” on page 2-1658 |
model'} | 'Default' | list of |
|
|
|
This parameter requires a |
memory sections from model’s |
|
|
|
package |
|
|
|
|
license for Embedded Coder |
|
|
|
|
|
|
|
|
|
software and an ERT-based |
|
|
|
|
system target file. |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
8-191

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
MinMaxOverflowLogging |
|
No dialog box prompt |
string — |
|
|
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
|
|
| 'MinMaxAndOverflow' |
|
||
|
|
|
instrumentation. |
|
||
|
|
|
| 'OverflowOnly' | |
|
||
|
|
|
Set by Fixed-point |
|
||
|
|
|
'ForceOff' |
|
||
|
|
|
instrumentation mode |
|
||
|
|
|
|
|
||
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
IsSubsystemVirtual |
|
|
|
boolean — {'off'} | 'on' |
|
|
|
|
|
|
Read-only |
|
|
Code Reuse Subsystem (SubSystem) |
|
|
|||
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
|
|
|
|
|
|
|
8-192

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
8-193

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
MinMaxOverflowLogging |
|
No dialog box prompt |
string — |
|
|
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
|
|
| 'MinMaxAndOverflow' |
|
||
|
|
|
instrumentation. |
|
||
|
|
|
| 'OverflowOnly' | |
|
||
|
|
|
Set by Fixed-point |
|
||
|
|
|
'ForceOff' |
|
||
|
|
|
instrumentation mode |
|
||
|
|
|
|
|
||
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
IsSubsystemVirtual |
|
|
|
boolean — {'off'} | 'on' |
|
|
|
|
|
|
Read-only |
|
|
Configurable Subsystem (SubSystem) |
|
|
|||
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — {'off'} | 'on' |
|
|
|
|
|
|
|
|
|
8-194

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
8-195

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
MinMaxOverflowLogging |
|
No dialog box prompt |
string — |
|
|
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
|
|
| 'MinMaxAndOverflow' |
|
||
|
|
|
instrumentation. |
|
||
|
|
|
| 'OverflowOnly' | |
|
||
|
|
|
Set by Fixed-point |
|
||
|
|
|
'ForceOff' |
|
||
|
|
|
instrumentation mode |
|
||
|
|
|
|
|
||
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
IsSubsystemVirtual |
|
|
|
boolean — {'on'} | 'off' |
|
|
|
|
|
|
Read-only |
|
|
Enable (EnablePort) |
|
|
|
|
|
|
StatesWhenEnabling |
|
States when enabling |
string — {'held'} | 'reset' |
|
|
|
PropagateVarSize |
|
Propagate sizes of |
string — {'Only when |
|
|
|
|
|
variable-size signals |
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' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
BlockChoice |
|
Block choice |
string — {''} |
|
|
|
TemplateBlock |
|
Template block |
string — {''} |
|
|
|
MemberBlocks |
|
Member blocks |
string — {''} |
|
|
|
|
|
|
|
|
|
8-196

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Permissions |
Read/Write permissions |
string — {'ReadWrite'} |
|
|
|
|
| 'ReadOnly' | |
|
|
|
|
'NoReadOrWrite' |
|
|
ErrorFcn |
Name of error callback |
string — {''} |
|
|
|
function |
|
|
|
PermitHierarchical |
Permit hierarchical resolution |
string — {'All'} | |
|
|
Resolution |
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
8-197

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
DataTypeOverride |
|
No dialog box prompt |
string — |
|
|
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
|
|
'ScaledDouble' | 'Double' |
|
||
|
|
|
override fixed-point data |
|
||
|
|
|
| 'Single' | 'ForceOff' |
|
||
|
|
|
types. Set by Data type |
|
||
|
|
|
|
|
||
|
|
|
override on the Fixed-Point |
|
|
|
|
|
|
Tool. |
|
|
|
|
MinMaxOverflowLogging |
|
No dialog box prompt |
string — |
|
|
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
|
|
| 'MinMaxAndOverflow' |
|
||
|
|
|
instrumentation. |
|
||
|
|
|
| 'OverflowOnly' | |
|
||
|
|
|
Set by Fixed-point |
|
||
|
|
|
'ForceOff' |
|
||
|
|
|
instrumentation mode |
|
||
|
|
|
|
|
||
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
IsSubsystemVirtual |
|
|
|
boolean — {'off'} | 'on' |
|
|
|
|
|
|
Read-only |
|
|
Enabled Subsystem (SubSystem) |
|
|
|
|
|
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
BlockChoice |
|
Block choice |
string — {''} |
|
|
|
TemplateBlock |
|
Template block |
string — {''} |
|
|
|
MemberBlocks |
|
Member blocks |
string — {''} |
|
|
|
Permissions |
|
Read/Write permissions |
string — {'ReadWrite'} |
|
|
|
|
|
|
|
| 'ReadOnly' | |
|
|
|
|
|
|
'NoReadOrWrite' |
|
|
|
|
|
|
|
|
8-198

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ErrorFcn |
Name of error callback |
string — {''} |
|
|
|
function |
|
|
|
PermitHierarchical |
Permit hierarchical resolution |
string — {'All'} | |
|
|
Resolution |
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
8-199

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation. |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
IsSubsystemVirtual |
|
boolean — {'off'} | 'on' |
|
|
|
|
Read-only |
|
|
For Each(ForEach) |
|
|
|
|
InputPartition |
Partition |
cell array of strings |
|
|
InputPartitionDimension |
Partition dimension for input |
cell array of strings |
|
|
|
signal |
|
|
|
InputPartitionWidth |
Width of partition for input |
cell array of strings |
|
|
|
signal |
|
|
|
OutputConcatenationDimension |
Concatenation dimension of |
cell array of strings |
|
|
|
output signal |
|
|
|
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) |
string — {'off'} | 'on' |
|
|
|
externally |
|
|
8-200

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
ShowIterationPort |
|
Show iteration variable |
string — 'off' | {'on'} |
|
|
|
IndexMode |
|
Index mode |
string — 'Zero-based' | |
|
|
|
|
|
|
|
{'One-based'} |
|
|
IterationVariable |
|
Iteration variable data type |
string — {'int32'} | |
|
|
|
DataType |
|
|
|
'int16' | 'int8' | |
|
|
|
|
|
|
'double' |
|
|
For Iterator Subsystem (SubSystem) |
|
|
|||
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
|
MinAlgLoopOccurrences |
|
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
|
|
occurrences |
|
|
8-201

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation . |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
|
|
|
8-202

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
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' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
|
MinAlgLoopOccurrences |
|
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
|
|
occurrences |
|
|
8-203

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation. |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
|
|
|
8-204

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
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 |
string — {''} |
|
|
|
|
|
(comma-separated list, e.g., u2 |
|
|
|
|
|
|
~= 0, u3(2) < u2) |
|
|
|
|
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' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
BlockChoice |
|
Block choice |
string — {''} |
|
|
|
TemplateBlock |
|
Template block |
string — {''} |
|
|
|
MemberBlocks |
|
Member blocks |
string — {''} |
|
|
|
Permissions |
|
Read/Write permissions |
string — {'ReadWrite'} |
|
|
|
|
|
|
|
| 'ReadOnly' | |
|
|
|
|
|
|
'NoReadOrWrite' |
|
|
|
|
|
|
|
|
8-205

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ErrorFcn |
Name of error callback |
string — {''} |
|
|
|
function |
|
|
|
PermitHierarchical |
Permit hierarchical resolution |
string — {'All'} | |
|
|
Resolution |
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
8-206

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation. |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
OutsideSignal |
outside signal |
|
|
|
LatchInputFor |
Latch input for feedback |
string — {'off'} | 'on' |
|
|
FeedbackSignals |
signals of function-call |
|
|
|
|
subsystem outputs |
|
|
|
Interpolate |
Interpolate data |
string — 'off' | {'on'} |
|
|
UseBusObject |
Specify properties via bus |
string — {'off'} | 'on' |
|
|
|
object |
|
|
|
BusObject |
Bus object for specifying bus |
string — {'BusObject'} |
|
|
|
properties |
|
|
8-207

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
BusOutputAsStruct |
Output as nonvirtual bus |
string — {'off'} | 'on' |
|
|
PortDimensions |
Port dimensions (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
SignalType |
Signal type |
string — {'auto'} | 'real' |
|
|
|
|
| 'complex' |
|
|
SamplingMode |
Sampling mode |
string — {'auto'} | 'Sample |
|
|
|
|
based' | 'Frame based' |
|
|
Model (ModelReference) |
|
|
|
|
|
|
|
|
8-208

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ModelNameDialog |
The name of the referenced |
string — {'<Enter Model |
|
|
|
model exactly as you typed |
Name>'} |
|
|
|
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. |
|
|
|
ModelName |
The value of ModelNameDialog |
string — Set automatically |
|
|
|
stripped of any filename |
when ModelNameDialog is set. |
|
|
|
extension 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. |
|
|
8-209

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ModelFile |
The value of ModelNameDialog |
string — Set automatically |
|
|
|
with a filename extension. |
when ModelNameDialog is set. |
|
|
|
The suffix of the first |
|
|
|
|
match Simulink finds |
|
|
|
|
becomes the suffix of |
|
|
|
|
ModelFile. Setting ModelFile |
|
|
|
|
programmatically actually sets |
|
|
|
|
ModelNameDialog, which then |
|
|
|
|
sets ModelFile as described. |
|
|
|
ProtectedModel |
Read-only boolean indicating |
boolean — 'off' | 'on' |
|
|
|
whether the model referenced |
— Set automatically when |
|
|
|
by the block is protected (on) |
ModelNameDialog is set. |
|
|
|
or unprotected (off). |
|
|
|
ParameterArgumentNames |
Model arguments |
string — {''} |
|
|
ParameterArgumentValues |
Model argument values (for |
string — {''} |
|
|
|
this instance) |
|
|
|
SimulationMode |
Specifies whether to simulate |
string — {'Accelerator'} |
|
|
|
the model by generating |
| 'Normal' | |
|
|
|
and executing code or by |
'Processor-in-the-loop |
|
|
|
interpreting the model in |
(PIL)' |
|
|
|
Simulink software. |
|
|
|
Variant |
Specifies whether the Model |
string — {'off'} | 'on' |
|
|
|
block references variant |
|
|
|
|
models. |
|
|
8-210

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Variants |
An array of variant structures |
array — [ ] |
|
|
|
where each element specifies |
|
|
|
|
one variant. The structure |
|
|
|
|
fields are as follows: |
|
|
|
|
variant.Name – The name of |
string — {''} |
|
|
|
the Simulink.Variant object |
|
|
|
|
that represents the variant to |
|
|
|
|
which this element applies. |
|
|
|
|
variant.ModelName – The |
string — {''} |
|
|
|
name of the referenced model |
|
|
|
|
associated with the specified |
|
|
|
|
variant object in this Model |
|
|
|
|
block. |
|
|
|
|
variant.ParameterArgument |
string — {''} |
|
|
|
Names – Noneditable string |
|
|
|
|
containing the names of the |
|
|
|
|
model arguments for which |
|
|
|
|
the Model block must supply |
|
|
|
|
values. |
|
|
|
|
variant.ParameterArgument |
string — {''} |
|
|
|
Values – The values |
|
|
|
|
to supply for the model |
|
|
|
|
arguments when this variant |
|
|
|
|
is the active variant. |
|
|
|
|
variant.SimulationMode – |
string — {'Accelerator'} |
|
|
|
The execution mode to use |
| 'Normal' | |
|
|
|
when this variant is the active |
'Processor-in-the-loop |
|
|
|
variant. |
(PIL)' |
|
|
OverrideUsingVariant |
Whether to override the |
string — {''} |
|
|
|
variant conditions and make |
The value is the empty string |
|
|
|
a specified variant the active |
if no overriding variant object |
|
|
|
variant, and if so, the name of |
is specified; or the name of the |
|
|
|
that variant. |
overriding object. |
|
8-211

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ActiveVariant |
The variant that is currently |
string — {''} |
|
|
|
active, either because its |
The value is the empty string |
|
|
|
variant condition is true |
if no variant is active; or the |
|
|
|
or OverrideUsingVariant |
name of the active variant. |
|
|
|
has overridden the variant |
|
|
|
|
conditions and specified this |
|
|
|
|
variant. |
|
|
|
|
|
|
|
|
GeneratePreprocessor |
Locally controls whether |
string — {'off'} | 'on' |
|
|
Conditionals |
generated code contains |
|
|
|
|
preprocessor conditionals. |
|
|
|
|
This parameter applies only |
|
|
|
|
to Simulink Coder code |
|
|
|
|
generation and has no effect |
|
|
|
|
on the behavior of a model in |
|
|
|
|
Simulink. |
|
|
|
|
The parameter is available |
|
|
|
|
only for an ERT target when |
|
|
|
|
you select Inline parameters. |
|
|
|
|
For more information, see |
|
|
|
|
“Variant Systems”. |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
object |
|
|
8-212

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
BusObject |
Bus object for validating input |
string — {'BusObject'} |
|
|
|
|
bus |
|
|
|
|
BusOutputAsStruct |
Output as nonvirtual bus in |
string — {'off'} | 'on' |
|
|
|
|
parent model |
|
|
|
|
PortDimensions |
Port dimensions (-1 for |
string — {'-1'} |
|
|
|
|
inherited) |
|
|
|
|
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>' | |
|
|
|
|
'Bus: |
<object name>' |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
|
against changes by the |
|
|
|
|
|
fixed-point tools |
|
|
|
|
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 — {'[]'} |
|
|
|
|
|
|
|
|
8-213

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
Subsystem (SubSystem) |
|
|
|
|
|
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — {'off'} | 'on' |
|
|
|
MinAlgLoopOccurrences |
|
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
|
|
occurrences |
|
|
|
|
PropExecContext |
|
Propagate execution context |
string — {'off'} | 'on' |
|
|
|
OutsideSubsystem |
|
across subsystem boundary |
|
|
|
|
CheckFcnCallInp |
|
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
|
InsideContextMsg |
|
are context-specific |
|
|
|
|
SystemSampleTime |
|
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
|
|
|
|
|
|
|
8-214

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
Specifies data type used to |
string — |
|
|
|
override fixed-point data |
{'UseLocalSettings'} | |
|
|
|
types. Set by Data type |
'ScaledDouble' | 'Double' |
|
|
|
override on the Fixed-Point |
| 'Single' | 'ForceOff' |
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation. |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
IsSubsystemVirtual |
|
boolean — {'on'} | 'off' |
|
|
|
|
Read-only |
|
|
Virtual |
For internal use |
|
|
|
Switch Case (SwitchCase) |
|
|
|
|
CaseConditions |
Case conditions (e.g., {1,[2,3]}) |
string — {'{1}'} |
|
|
|
|
|
|
8-215

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
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 in R2009b |
|
|
|
|
Switch Case Action Subsystem (SubSystem) |
|
|
|||
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
|
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
|
MinAlgLoopOccurrences |
|
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
|
|
occurrences |
|
|
|
|
PropExecContext |
|
Propagate execution context |
string — {'off'} | 'on' |
|
|
|
OutsideSubsystem |
|
across subsystem boundary |
|
|
8-216

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation. |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
|
|
|
8-217

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'During |
|
|
|
variable-size signals |
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'} |
|
|
PortDimensions |
Port dimensions (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
TriggerSignalSampleTime |
Trigger signal sample time |
string — {'-1'} |
|
|
OutMin |
Minimum |
string — {'[]'} |
|
|
OutMax |
Maximum |
string — {'[]'} |
|
|
|
|
|
|
8-218

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
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>' |
|
|
Interpolate |
|
Interpolate data |
string — 'off' | {'on'} |
|
|
|
Triggered Subsystem (SubSystem) |
|
|
|||
|
ShowPortLabels |
|
Show port labels |
string — 'none' | |
|
|
|
|
|
|
|
{'FromPortIcon'} | |
|
|
|
|
|
|
'FromPortBlockName' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
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 |
string — {''} |
|
|
|
|
|
function |
|
|
|
|
PermitHierarchical |
|
Permit hierarchical resolution |
string — {'All'} | |
|
|
|
Resolution |
|
|
|
'ExplicitOnly' | 'None' |
|
|
|
|
|
|
|
|
8-219

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
TreatAsAtomicUnit |
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
8-220

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
Values |
|
|
|
MinMaxOverflowLogging |
|
No dialog box prompt |
string — |
|
|
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
|
|
| 'MinMaxAndOverflow' |
|
||
|
|
|
instrumentation. |
|
||
|
|
|
| 'OverflowOnly' | |
|
||
|
|
|
Set by Fixed-point |
|
||
|
|
|
'ForceOff' |
|
||
|
|
|
instrumentation mode |
|
||
|
|
|
|
|
||
|
|
|
on the Fixed-Point Tool. |
|
|
|
|
IsSubsystemVirtual |
|
|
|
boolean — {'off'} | 'on' |
|
|
|
|
|
|
Read-only |
|
|
While Iterator (WhileIterator) |
|
|
|
|
|
|
MaxIters |
|
Maximum number of |
string — {'5'} |
|
|
|
|
|
iterations (-1 for unlimited) |
|
|
|
|
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' | |
|
|
|
|
Note The values 'off' |
'SignalName' | 'off' | |
|
|
|
|
|
and 'on' are for backward |
'on' |
|
|
|
|
|
compatibility only and should |
|
|
|
|
|
|
not be used in new models |
|
|
|
|
|
|
or when updating existing |
|
|
|
|
|
|
models. |
|
|
|
|
|
|
|
|
|
|
|
BlockChoice |
|
Block choice |
string — {''} |
|
|
|
|
|
|
|
|
|
8-221

8 Model and Block Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
TemplateBlock |
Template block |
string — {''} |
|
|
MemberBlocks |
Member blocks |
string — {''} |
|
|
Permissions |
Read/Write permissions |
string — {'ReadWrite'} |
|
|
|
|
| 'ReadOnly' | |
|
|
|
|
'NoReadOrWrite' |
|
|
ErrorFcn |
Name of error callback |
string — {''} |
|
|
|
function |
|
|
|
PermitHierarchical |
Permit hierarchical resolution |
string — {'All'} | |
|
|
Resolution |
|
'ExplicitOnly' | 'None' |
|
|
TreatAsAtomicUnit |
Treat as atomic unit |
string — 'off' | {'on'} |
|
|
MinAlgLoopOccurrences |
Minimize algebraic loop |
string — {'off'} | 'on' |
|
|
|
occurrences |
|
|
|
PropExecContext |
Propagate execution context |
string — {'off'} | 'on' |
|
|
OutsideSubsystem |
across subsystem boundary |
|
|
|
CheckFcnCallInp |
Warn if function-call inputs |
string — {'off'} | 'on' |
|
|
InsideContextMsg |
are context-specific |
|
|
|
SystemSampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
RTWSystemCode |
Code generation function |
string — {'Auto'} | |
|
|
|
packaging |
'Inline' | 'Function' |
|
|
|
|
| 'Reusable function' |
|
|
RTWFcnNameOpts |
Code generation function |
string — {'Auto'} | 'Use |
|
|
|
name options |
subsystem name' | 'User |
|
|
|
|
specified' |
|
|
RTWFcnName |
Code generation function |
string — {''} |
|
|
|
name |
|
|
|
RTWFileNameOpts |
Code generation file name |
string — {'Auto'} | 'Use |
|
|
|
options |
subsystem name' | 'Use |
|
|
|
|
function name' | 'User |
|
|
|
|
specified' |
|
|
|
|
|
|
8-222

Block-Specific Parameters
Ports & Subsystems Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RTWFileName |
Code generation file name (no |
string — {''} |
|
|
|
extension) |
|
|
|
DataTypeOverride |
No dialog box prompt |
string — |
|
|
|
Specifies data type used to |
{'UseLocalSettings'} | |
|
|
|
'ScaledDouble' | 'Double' |
|
|
|
|
override fixed-point data |
|
|
|
|
| 'Single' | 'ForceOff' |
|
|
|
|
types. Set by Data type |
|
|
|
|
|
|
|
|
|
override on the Fixed-Point |
|
|
|
|
Tool. |
|
|
|
MinMaxOverflowLogging |
No dialog box prompt |
string — |
|
|
|
Setting for fixed-point |
{'UseLocalSettings'} |
|
|
|
| 'MinMaxAndOverflow' |
|
|
|
|
instrumentation. |
|
|
|
|
| 'OverflowOnly' | |
|
|
|
|
Set by Fixed-point |
|
|
|
|
'ForceOff' |
|
|
|
|
instrumentation mode |
|
|
|
|
|
|
|
|
|
on the Fixed-Point Tool. |
|
|
|
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 — {'[]'} |
|
|
|
|
|
|
8-223

8 Model and Block Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
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' |
|
|
Overflow |
|
|
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
Data Type Conversion Inherited (Conversion Inherited) (masked subsystem) |
|
||
|
ConvertRealWorld |
Input and Output to have |
string — {'Real World |
|
|
|
equal |
Value'} | 'Stored |
|
|
|
|
Integer' |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
|
|
|
|
8-224

Block-Specific Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
Data Type Duplicate (DataTypeDuplicate) |
|
|
|
|
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 |
string — {'fixdt(1,16)'} |
|
|
|
type (e.g., fixdt(1,16), |
|
|
|
|
fixdt('single')) |
|
|
|
IfRefDouble |
1.1. If any reference input is |
string — {'double'} | |
|
|
|
double, output is |
'single' |
|
|
IfRefSingle |
1.2. If any reference input is |
string — 'double' | |
|
|
|
single, output is |
{'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: |
string — {'1'} |
|
|
|
Multiplicative adjustment |
|
|
|
NumBitsAdd |
1.4.3. Number-of-Bits: |
string — {'0'} |
|
|
|
Additive adjustment |
|
|
8-225

8 Model and Block Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
NumBitsAllowFinal |
1.4.4. Number-of-Bits: |
string — {'1:128'} |
|
|
|
Allowable final values |
|
|
|
PropScalingMode |
2. Propagated scaling |
string — 'Specify via |
|
|
|
|
dialog' | {'Inherit |
|
|
|
|
via propagation rule'} |
|
|
|
|
| 'Obtain via best |
|
|
|
|
precision' |
|
|
PropScaling |
2.1. Propagated scaling: Slope |
string — {'2^-10'} |
|
|
|
or [Slope Bias] ex. 2^-9 |
|
|
|
ValuesUsedBestPrec |
2.1. Values used to determine |
string — {'[5 -7]'} |
|
|
|
best precision scaling |
|
|
|
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 |
string — {'1'} |
|
|
|
adjustment |
|
|
|
SlopeAdd |
2.1.3. Slope: Additive |
string — {'0'} |
|
|
|
adjustment |
|
|
8-226

Block-Specific Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'1'} |
|
|
|
adjustment |
|
|
|
BiasAdd |
2.2.3. Bias: Additive |
string — {'0'} |
|
|
|
adjustment |
|
|
|
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' | 'Same as |
|
|
|
|
input' |
|
|
|
|
|
|
8-227

8 Model and Block Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
ProbeSampleTimeDataType |
Data type for sample time |
string — {'double'} | |
|
|
|
|
'single' | 'int8' | |
|
|
|
|
'uint8' | 'int16' | |
|
|
|
|
'uint16' | 'int32' | |
|
|
|
|
'uint32' | '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 |
string — {'double'} | |
|
|
|
dimensions |
'single' | 'int8' | |
|
|
|
|
'uint8' | 'int16' | |
|
|
|
|
'uint16' | 'int32' | |
|
|
|
|
'uint32' | '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 |
string — 'off' | {'on'} |
|
|
|
data transfer |
|
|
|
Deterministic |
Ensure deterministic data |
string — 'off' | {'on'} |
|
|
|
transfer (maximum delay) |
|
|
|
X0 |
Initial conditions |
string — {'0'} |
|
|
|
|
|
|
8-228

Block-Specific Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
OutPortSampleTimeOpt |
Output port sample time |
string — {'Specify'} | |
|
|
|
|
options |
'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 — {'Signal copy'} |
|
|
|
|
|
| 'Virtual bus' | |
|
|
|
|
|
'Nonvirtual bus' |
|
|
|
OutDataTypeStr |
Data type |
string — {'Inherit: auto'} |
|
|
|
|
|
| 'Bus: |
<object name>' |
|
|
OverrideOpt |
Exclude this block from ’Block |
string — {'off'} | 'on' |
|
|
|
|
reduction’ optimization |
|
|
|
|
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>' | |
|
|
|
|
'Bus: |
<object name>' |
|
|
|
|
|
|
|
8-229

8 Model and Block Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
BusOutputAsStruct |
Require nonvirtual bus |
string — {'off'} | 'on' |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
SignalType |
Signal type |
string — {'auto'} | 'real' |
|
|
|
|
| 'complex' |
|
|
SamplingMode |
Sampling mode |
string — {'auto'} | 'Sample |
|
|
|
|
based' | 'Frame based' |
|
|
Weighted Sample Time (SampleTimeMath) |
|
|
|
|
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' |
|
|
Overflow |
|
|
|
|
OutputDataTypeScaling |
Deprecated in R2009b |
|
|
|
Mode |
|
|
|
|
DoSatur |
Deprecated in R2009b |
|
|
|
Width (Width) |
|
|
|
|
|
|
|
|
8-230

Block-Specific Parameters
Signal Attributes Library Block Parameters (Continued)
|
Block (Type)/Parameter |
|
Dialog Box Prompt |
|
Values |
|
|
|
OutputDataTypeScaling |
|
Output data type mode |
|
string — {'Choose intrinsic |
|
|
|
Mode |
|
|
|
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 |
string — {''} |
|
|||
|
|
assigned |
|
|
|
|
|
|
InputSignals |
Signals in the bus |
matrix — {'{}'} |
|
|||
|
Bus Creator (BusCreator) |
|
|
|
|
|
|
|
Inputs |
Number of inputs |
string — {'2'} |
|
|||
|
DisplayOption |
|
|
string — 'none' | 'signals' | |
|
||
|
|
|
|
{'bar'} |
|
|
|
|
NonVirtualBus |
Output as nonvirtual bus |
string — {'off'} | 'on' |
|
|||
|
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>' | |
|
|
|
|
|
|
'Bus: |
<object name>' |
|
|
|
|
|
|
|
|
|
|
8-231

8 Model and Block Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Bus Selector (BusSelector) |
|
|
|
|
OutputSignals |
Selected signals |
string — {'signal1,signal2'} |
|
|
OutputAsBus |
Output as bus |
string — {'off'} | 'on' |
|
|
InputSignals |
Signals in bus |
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 |
string — {'off'} | 'on' |
|
|
SignalObject |
resolve to Simulink signal |
|
|
|
|
object |
|
|
|
DataLogging |
Log Signal Data |
string — 'off' | {'on'} |
|
|
DataLoggingNameMode |
Logging Name |
string — {'SignalName'} | |
|
|
|
|
'Custom' |
|
|
DataLoggingName |
Logging Name |
string — {''} |
|
|
DataLoggingLimit |
Limit data points to last |
string — 'off' | {'on'} |
|
|
DataPoints |
|
|
|
|
DataLoggingMaxPoints |
Limit data points to last |
non-zero integer {5000} |
|
|
DataLoggingDecimateData |
Decimation |
string — 'off' | {'on'} |
|
|
DataLoggingLimit |
Decimation |
non-zero integer {2} |
|
|
DataPoints |
|
|
|
|
|
|
|
|
8-232

Block-Specific Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RTWStateStorageClass |
Code generation storage |
string — {'Auto'} | |
|
|
|
class |
'ExportedGlobal' | |
|
|
|
|
'ImportedExtern' | |
|
|
|
|
'ImportedExternPointer' |
|
|
RTWStateStorageType |
Code generation type |
string — {''} |
|
|
Qualifier |
qualifier |
|
|
|
VectorParams1D |
Interpret vector parameters |
string — 'off' | {'on'} |
|
|
|
as 1-D |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
setting against changes by |
|
|
|
|
the fixed-point tools |
|
|
|
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'} |
|
|
|
|
|
|
8-233

8 Model and Block Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
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 (MultiPortSwitch) |
|
|
|
|
DataPortOrder |
Data port order |
string — {'Zero-based |
|
|
|
|
contiguous'} | 'One-based |
|
|
|
|
contiguous' | 'Specify |
|
|
|
|
indices' |
|
|
Inputs |
Number of data ports |
string — {'1'} |
|
|
zeroidx |
Deprecated in R2010a |
|
|
|
|
|
|
|
8-234

Block-Specific Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
InputSameDT |
Require all data port inputs |
string — {'off'} | 'on' |
|
|
|
to have the same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
setting against changes by |
|
|
|
|
the fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
AllowDiffInputSizes |
Allow different data |
string — {'off'} | 'on' |
|
|
|
input sizes (Results in |
|
|
|
|
variable-size output signal) |
|
|
|
Manual Switch (Manual Switch) (masked subsystem) |
|
|
|
|
varsize |
Allow different input sizes |
string — {'off'} | 'on' |
|
|
|
(Results in variable-size |
|
|
|
|
output signal) |
|
|
8-235

8 Model and Block Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
Merge (Merge) |
|
|
|
|
Inputs |
Number of inputs |
string — {'2'} |
|
|
InitialOutput |
Initial output |
string — {'[]'} |
|
|
AllowUnequalInput |
Allow unequal port widths |
string — {'off'} | 'on' |
|
|
PortWidths |
|
|
|
|
InputPortOffsets |
Input port offsets |
string — {'[]'} |
|
|
Multiport Switch (MultiPortSwitch) |
|
|
|
|
DataPortOrder |
Data port order |
string — 'Zero-based |
|
|
|
|
contiguous' | {'One-based |
|
|
|
|
contiguous'} | 'Specify |
|
|
|
|
indices' |
|
|
Inputs |
Number of data ports |
string — {'3'} |
|
|
zeroidx |
Deprecated in R2010a |
|
|
|
DataPortIndices |
Data port indices |
string — {'{1,2,3}'} |
|
|
DataPortForDefault |
Data port for default case |
string — {'Last data port'} | |
|
|
|
|
'Additional data port' |
|
|
DiagnosticForDefault |
Diagnostic for default case |
string — 'None' | 'Warning' | |
|
|
|
|
{'Error'} |
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
InputSameDT |
Require all data port inputs |
string — {'off'} | 'on' |
|
|
|
to have the same data type |
|
|
|
OutMin |
Output minimum |
string — {'[]'} |
|
|
OutMax |
Output maximum |
string — {'[]'} |
|
|
|
|
|
|
8-236

Block-Specific Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'off'} | 'on' |
|
|
|
setting against changes by |
|
|
|
|
the fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
AllowDiffInputSizes |
Allow different data |
string — {'off'} | 'on' |
|
|
|
input sizes (Results in |
|
|
|
|
variable-size output signal) |
|
|
|
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'} |
|
|
|
|
|
|
8-237

8 Model and Block Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
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 |
string — {'u2 >= Threshold'} | |
|
|
|
input |
'u2 > Threshold' | 'u2 ~= 0' |
|
|
Threshold |
Threshold |
string — {'0'} |
|
|
ZeroCross |
Enable zero-crossing |
string — 'off' | {'on'} |
|
|
|
detection |
|
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
8-238

Block-Specific Parameters
Signal Routing Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
InputSameDT |
Require all data port inputs |
string — {'off'} | 'on' |
|
|
|
to have the same data type |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
setting against changes by |
|
|
|
|
the fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
SaturateOnInteger |
Saturate on integer overflow |
string — {'off'} | 'on' |
|
|
Overflow |
|
|
|
|
AllowDiffInputSizes |
Allow different input sizes |
string — {'off'} | 'on' |
|
|
|
(Results in variable-size |
|
|
|
|
output signal) |
|
|
|
Vector Concatenate (Concatenate) |
|
|
|
|
NumInputs |
Number of inputs |
string — {'2'} |
|
|
Mode |
Mode |
string — {'Vector'} | |
|
|
|
|
'Multidimensional array' |
|
|
|
|
|
|
8-239

8 Model and Block Parameters
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 |
|
Do not change this parameter |
|
|
|
|
with the command-line. |
|
|
|
|
Instead, use the Number of |
|
|
|
|
axes parameter in the Scope |
|
|
|
|
parameters dialog. |
|
|
TickLabels |
|
string — 'on' | 'off' | |
|
|
|
|
{'OneTimeTick'} |
|
|
ZoomMode |
|
string — {'on'} | 'xonly' |
|
|
|
|
| 'yonly' |
|
|
AxesTitles |
|
string |
|
|
Grid |
|
string — 'off' | {'on'} | |
|
|
|
|
'xonly' | 'yonly' |
|
|
TimeRange |
|
string — {'auto'} |
|
|
|
|
|
|
8-240

Block-Specific Parameters
Sinks Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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' |
|
|
BusOutputAsStruct |
Output as nonvirtual bus in |
string — {'off'} | 'on' |
|
|
|
parent model |
|
|
|
PortDimensions |
Port dimensions (-1 for |
string — {'-1'} |
|
|
|
inherited) |
|
|
|
VarSizeSig |
Variable-size signal |
string — {'Inherit'} | 'No' |
|
|
|
|
| 'Yes' |
|
|
SampleTime |
Sample time (-1 for inherited) |
string — {'-1'} |
|
|
OutMin |
Minimum |
string — {'[]'} |
|
|
OutMax |
Maximum |
string — {'[]'} |
|
|
|
|
|
|
8-241

8 Model and Block Parameters
Sinks Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
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>' | |
|
|
|
|
'Bus: |
<object name>' |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
|
against changes by the |
|
|
|
|
|
fixed-point tools |
|
|
|
|
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 |
|
Do not change this parameter |
|
|
|
|
|
with the command-line. |
|
|
|
|
|
Instead, use the Number of |
|
|
|
|
|
axes parameter in the Scope |
|
|
|
|
|
parameters dialog. |
|
|
|
TickLabels |
|
string — 'on' | 'off' | |
|
|
|
|
|
{'OneTimeTick'} |
|
|
|
|
|
|
|
|
8-242

Block-Specific Parameters
Sinks Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
File name |
string — {'untitled.mat'} |
|
|
MatrixName |
Variable name |
string — {'ans'} |
|
|
SaveFormat |
Save format |
string — {'Timeseries'} | |
|
|
|
|
'Array' |
|
|
Decimation |
Decimation |
string — {'1'} |
|
|
|
|
|
|
8-243

8 Model and Block Parameters
Sinks Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 — {'Timeseries'} | |
|
|
|
|
'Structure With Time' | |
|
|
|
|
'Structure' | 'Array' |
|
|
FixptAsFi |
Log fixed-point data as an fi |
string — {'off'} | 'on' |
|
|
|
object |
|
|
|
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 |
string — 'off' | {'on'} |
|
|
|
1-D |
|
|
8-244

Block-Specific Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Chirp Signal (chirp) (masked subsystem) |
|
|
|
|
f1 |
Initial frequency |
string — {'0.1'} |
|
|
T |
Target time |
string — {'100'} |
|
|
f2 |
Frequency at target time |
string — {'1'} |
|
|
VectorParams1D |
Interpret vectors parameters |
string — 'off' | {'on'} |
|
|
|
as 1-D |
|
|
|
Clock (Clock) |
|
|
|
|
DisplayTime |
Display time |
string — {'off'} | 'on' |
|
|
Decimation |
Decimation |
string — {'10'} |
|
|
Constant (Constant) |
|
|
|
|
Value |
Constant value |
string — {'1'} |
|
|
VectorParams1D |
Interpret vector parameters as |
string — 'off' | {'on'} |
|
|
|
1-D |
|
|
|
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>' |
|
|
|
|
|
|
8-245

8 Model and Block Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
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 — {'inf'} |
|
|
From File (FromFile) |
|
|
|
|
FileName |
File name |
string — {'untitled.mat'} |
|
|
ExtrapolationBeforeFirstDataPoint |
extrapolation before first |
string — {'Linear |
|
|
|
data point |
extrapolation'} | 'Hold |
|
|
|
|
first value' | 'Ground |
|
|
|
|
value' |
|
|
|
|
|
|
8-246

Block-Specific Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
InterpolationWithinTimeRange |
Data interpolation within time |
string — {'Linear |
|
|
|
range |
|
|
|
|
|
|
interpolation'} | 'Zero |
|
||
|
|
|
order hold' |
|
|
|
ExtrapolationAfterLastDataPoint |
extrapolation after last |
string — {'Linear |
|
|
|
|
data point |
extrapolation'} | 'Hold |
|
|
|
|
|
last value' | 'Ground |
|
|
|
|
|
value' |
|
|
|
SampleTime |
Sample time |
string — {'0'} |
|
|
|
From Workspace (FromWorkspace) |
|
|
|
|
|
VariableName |
Data |
string — {'simin'} |
|
|
|
OutDataTypeStr |
Output 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>' | |
|
|
|
|
'Bus: |
<object name>' |
|
|
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 |
string — {'Extrapolation'} |
|
|
|
|
value by |
| 'Setting to zero' | |
|
|
|
|
|
'Holding final value' | |
|
|
|
|
|
'Cyclic repetition' |
|
|
|
Ground |
|
|
|
|
|
In1 (Inport) |
|
|
|
|
|
Port |
Port number |
string — {'1'} |
|
|
|
|
|
|
|
|
8-247

8 Model and Block Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
IconDisplay |
Icon display |
string — 'Signal name' | |
|
|
|
|
|
{'Port number'} | 'Port |
|
|
|
|
|
number and signal name' |
|
|
|
BusOutputAsStruct |
Output as nonvirtual bus |
string — {'off'} | 'on' |
|
|
|
PortDimensions |
Port dimensions (-1 for |
string — {'-1'} |
|
|
|
|
inherited) |
|
|
|
|
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>' | |
|
|
|
|
'Bus: |
<object name>' |
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
|
against changes by the |
|
|
|
|
|
fixed-point tools |
|
|
|
|
SignalType |
Signal type |
string — {'auto'} | 'real' |
|
|
|
|
|
| 'complex' |
|
|
|
SamplingMode |
Sampling mode |
string — {'auto'} | 'Sample |
|
|
|
|
|
based' | 'Frame based' |
|
|
|
LatchByDelaying |
Latch input by delaying |
string — {'off'} | 'on' |
|
|
|
OutsideSignal |
outside signal |
|
|
|
8-248

Block-Specific Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
LatchInputFor |
Latch input for feedback |
string — {'off'} | 'on' |
|
|
FeedbackSignals |
signals of function-call |
|
|
|
|
subsystem outputs |
|
|
|
OutputFunctionCall |
Output a function-call trigger |
string — {'off'} | 'on' |
|
|
|
signal |
|
|
|
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 |
string — 'off' | {'on'} |
|
|
|
1-D |
|
|
|
Ramp (Ramp) (masked subsystem) |
|
|
|
|
slope |
Slope |
string — {'1'} |
|
|
start |
Start time |
string — {'0'} |
|
|
X0 |
Initial output |
string — {'0'} |
|
|
VectorParams1D |
Interpret vector parameters as |
string — 'off' | {'on'} |
|
|
|
1-D |
|
|
|
Random Number (RandomNumber) |
|
|
|
|
Mean |
Mean |
string — {'0'} |
|
|
|
|
|
|
8-249

8 Model and Block Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
Variance |
Variance |
string — {'1'} |
|
|
Seed |
Seed |
string — {'0'} |
|
|
SampleTime |
Sample time |
string — {'0.1'} |
|
|
VectorParams1D |
Interpret vector parameters as |
string — 'off' | {'on'} |
|
|
|
1-D |
|
|
|
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)' |
|
|
|
8-250

Block-Specific Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
OutputDataTypeScaling |
Deprecated in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
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' | |
|
|
|
|
'boolean' | 'fixdt(1,16)' |
|
|
|
|
| 'fixdt(1,16,0)' | |
|
|
|
|
'fixdt(1,16,2^0,0)' | |
|
|
|
|
'Enum: <class name>' |
|
|
OutputDataTypeScaling |
Deprecated in R2007b |
|
|
|
Mode |
|
|
|
|
OutDataType |
Deprecated in R2007b |
|
|
|
ConRadixGroup |
Deprecated in R2007b |
|
|
|
OutScaling |
Deprecated in R2007b |
|
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
8-251

8 Model and Block Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — 'off' | {'on'} |
|
|
|
1-D |
|
|
|
Sine Wave (Sin) |
|
|
|
|
SineType |
Sine type |
string — {'Time based'} | |
|
|
|
|
'Sample based' |
|
|
TimeSource |
Time |
string — {'Use simulation |
|
|
|
|
time'} | 'Use external |
|
|
|
|
signal' |
|
|
Amplitude |
Amplitude |
string — {'1'} |
|
|
Bias |
Bias |
string — {'0'} |
|
|
Frequency |
Frequency |
string — {'1'} |
|
|
Phase |
Phase |
string — {'0'} |
|
|
Samples |
Samples per period |
string — {'10'} |
|
|
Offset |
Number of offset samples |
string — {'0'} |
|
|
SampleTime |
Sample time |
string — {'0'} |
|
|
|
|
|
|
8-252

Block-Specific Parameters
Sources Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
|
Values |
|
|
VectorParams1D |
Interpret vector parameters as |
string — 'off' | {'on'} |
|
|
|
|
1-D |
|
|
|
|
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 |
string — 'off' | {'on'} |
|
|
|
|
1-D |
|
|
|
|
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.1'} |
|
|
VectorParams1D |
Interpret vector parameters as |
string — 'off' | {'on'} |
|
|
|
|
1-D |
|
|
|
|
User-Defined Functions Library Block Parameters |
|
|
|
|
|
|
|
|
|
|
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
MATLAB Function (Stateflow) (masked subsystem) |
|
|
|
|
|
Fcn (Fcn) |
|
|
|
|
|
Expr |
Expression |
string — |
|
|
|
|
|
{'sin(u(1)*exp(2.3*(-u(2))))'} |
|
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
|
inherited) |
|
|
|
8-253

8 Model and Block Parameters
User-Defined Functions Library Block Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
|
|
|
|
|
|
|
Level-2 MATLAB S-Function (M-S-Function) |
|
|
|
|
|
|
|
|
|
|
|
FunctionName |
S-function name |
string — {'mlfile'} |
|
|
|
|
||||
|
Parameters |
Parameters |
string — {''} |
|
|
|
|
|
|
||
|
Interpreted MATLAB Function (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 |
string — 'off' | {'on'} |
|
|
||||||
|
|
1-D |
|
|
|
|
|
|
|
|
|
|
SampleTime |
Sample time (-1 for |
string — {'-1'} |
|
|
|
|
|
|||
|
|
inherited) |
|
|
|
|
|
|
|
|
|
|
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]'} |
|
|
|
|
|
|
|
|
|
|
|
|
|
8-254

Block-Specific Parameters
Additional Discrete Block Library Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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 |
string — |
|
|
|
calculations |
{'fixdt('double')'} |
|
|
StateEqScaling |
Scaling for State Equation |
string — {'2^0'} |
|
|
|
AX+BU |
|
|
|
OutputEqScaling |
Scaling for Output Equation |
string — {'2^0'} |
|
|
|
CX+DU |
|
|
|
LockScale |
Lock output data type setting |
string — {'off'} | 'on' |
|
|
|
against changes by the |
|
|
|
|
fixed-point tools |
|
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
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 |
string — {'[-0.9 0.6]'} |
|
|
|
excluding lead (which must be |
|
|
|
|
1.0) |
|
|
|
vinit |
Initial condition |
string — {'0.0'} |
|
|
|
|
|
|
8-255

8 Model and Block Parameters
Additional Discrete Block Library Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
RndMeth |
Integer rounding mode |
string — 'Ceiling' | |
|
|
|
|
'Convergent' | {'Floor'} |
|
|
|
|
| 'Nearest' | 'Round' | |
|
|
|
|
'Simplest' | 'Zero' |
|
|
DoSatur |
Saturate to max or min when |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
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 |
string — {'off'} | 'on' |
|
|
|
overflows occur |
|
|
|
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)
8-256

Block-Specific Parameters
Additional Discrete Block Library Parameters (Continued)
|
Block (Type)/Parameter |
Dialog Box Prompt |
Values |
|
|
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'} |
|
|
|
8-257

8 Model and Block Parameters
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)
8-258