要编写用于创建和修改模型的脚本,可以使用 get_param
和 set_param
函数来查询和修改模块或图的属性和参数。使用表可确定模块对话框中的参数或属性的编程名称。
用于描述模型的编程参数为模型参数。用于描述模块的参数为模块参数。所有 Simulink® 模块通用的参数为通用模块参数(请参阅通用模块属性)。许多模块还具有唯一的模块特定参数。封装模块可以具有封装参数(请参阅封装参数)。
模型和模块属性还包括回调,回调是发生特定模型或模块事件时执行的命令。这些事件包括打开模型、仿真模型、复制模块、打开模块等。请参阅模型、模块和端口回调。
提示
对于接受数组值的模块参数,数组中的元素数量不能超过 int_T
可表示的数量。此限制对仿真和 Simulink Coder™ 代码生成均适用。
参数编辑字段最多可容纳 49,000 个字符。
下列各表列出了 Simulink 模块的模块特定参数。模块类型显示在模块名称后面的括号中。有些 Simulink 模块可用作封装子系统使用。表中通过在模块类型后面添加“封装子系统”的说明来表示封装模块。
BlockType
参数(请参阅通用模块属性)的值表示未封装模块的类型。MaskType
参数(请参阅封装参数)的值表示封装模块的类型。
对话框提示列指示了模块对话框中为该参数显示的提示文本。值列显示了所需的值类型(标量、向量、变量)、可能的值(以垂直线分隔)和默认值(括在花括号中)。
Continuous 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Derivative | ||
| Coefficient c in the transfer function approximation |
|
Integrator | ||
| External reset |
|
| Initial condition source |
|
| Initial condition | 标量或向量 - |
| Limit output |
|
| Upper saturation limit | 标量或向量 - |
| Lower saturation limit | 标量或向量 - |
| Show saturation port |
|
| Show state port |
|
| Absolute tolerance | 字符向量、标量或向量 - |
| Ignore limit and reset when linearizing |
|
| Enable zero–crossing detection |
|
| State Name |
|
| Wrap state |
|
| Upper value of wrapped state | 标量或向量 - |
| Lower value of wrapped state | 标量或向量 - |
Second-Order Integrator | ||
| Initial condition source x |
|
| Initial condition x | 标量或向量 - |
| Limit x |
|
| Upper limit x | 标量或向量 - |
| Lower limit x | 标量或向量 - |
| Enable wrapping of x |
|
| Upper value for wrapping x | 标量或向量 - |
| Lower value for wrapping x | 标量或向量 - |
| Absolute tolerance x | 字符向量、标量或向量 - |
| State name x |
|
| Initial condition source dx/dt |
|
| Initial condition dx/dt | 标量或向量 - |
| Limit dx/dt |
|
| Upper limit dx/dt | 标量或向量 - |
| Lower limit dx/dt | 标量或向量 - |
| Absolute tolerance dx/dt | 字符向量、标量或向量 - |
| State name dx/dt |
|
| External reset |
|
| Enable zero-crossing detection |
|
| Reinitialize dx/dt when x reaches saturation |
|
| Ignore state limits and the reset for linearization |
|
| Show output |
|
State-Space | ||
| A | 矩阵 - |
| B | 矩阵 - |
| C | 矩阵 - |
| D | 矩阵 - |
| Initial conditions | 向量 - |
| Absolute tolerance | 字符向量、标量或向量 - |
| State Name |
|
Transfer Fcn | ||
| Numerator coefficients | 向量或矩阵 - |
| Denominator coefficients | 向量 - |
| Absolute tolerance | 字符向量、标量或向量 - |
| State Name |
|
Transport Delay | ||
| Time delay | 标量或向量 - |
| Initial output | 标量或向量 - |
| Initial buffer size | 标量 - |
| Use fixed buffer size |
|
| Direct feedthrough of input during linearization |
|
| Pade order (for linearization) |
|
Variable Time Delay | ||
| Select delay type |
|
| Maximum delay | 标量或向量 - |
| Initial output | 标量或向量 - |
| Initial buffer size | 标量 - |
| Use fixed buffer size |
|
| Handle zero delay |
|
| Direct feedthrough of input during linearization |
|
| Pade order (for linearization) |
|
| State Name |
|
Variable Transport Delay | ||
| Select delay type |
|
| Maximum delay | 标量或向量 - |
| Initial output | 标量或向量 - |
| Initial buffer size | 标量 - |
| Use fixed buffer size |
|
| Direct feedthrough of input during linearization |
|
| Pade order (for linearization) |
|
| Absolute tolerance | 字符向量、标量或向量 - |
| State Name |
|
Zero-Pole | ||
| Zeros | 向量 - |
| Poles | 向量 - |
| Gain | 向量 - |
| Absolute tolerance | 字符向量、标量或向量 - |
| State Name |
|
Discontinuities 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Backlash | ||
|
Deadband width |
标量或向量 - |
|
Initial output |
标量或向量 - |
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
Coulomb & Viscous Friction | ||
|
Coulomb friction value (Offset) |
|
|
Coefficient of viscous friction (Gain) |
|
Dead Zone | ||
|
Start of dead zone |
标量或向量 - |
|
End of dead zone |
标量或向量 - |
|
Saturate on integer overflow |
|
|
Treat as gain when linearizing |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
Dead Zone Dynamic | ||
Hit Crossing | ||
|
Hit crossing offset |
标量或向量 - |
|
Hit crossing direction |
|
|
Show output port |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
Quantizer | ||
|
Quantization interval |
标量或向量 - |
|
Treat as gain when linearizing |
|
|
Sample time (-1 for inherited) |
|
Rate Limiter | ||
|
Rising slew rate |
|
|
Falling slew rate |
|
|
Sample time mode |
|
|
Initial condition |
|
|
Treat as gain when linearizing |
|
Rate Limiter Dynamic | ||
Relay | ||
|
Switch on point |
|
|
Switch off point |
|
|
Output when on |
|
|
Output when off |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
Saturation | ||
|
Upper limit |
标量或向量 - |
|
Lower limit |
标量或向量 - |
|
Treat as gain when linearizing |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
Saturation Dynamic | ||
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Wrap To Zero | ||
|
Threshold |
|
Discrete 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Delay | ||
|
Delay length > Source |
|
|
Delay length > Value |
|
|
Delay length > Upper limit |
|
|
Initial condition > Source |
|
|
Initial condition > Value |
|
|
External reset |
|
|
Input processing |
|
|
Use circular buffer for state |
|
|
Prevent direct feedthrough |
|
|
Remove delay length check in generated code |
|
|
Diagnostic for delay length |
|
|
Sample time (–1 for inherited) |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Difference | ||
|
Initial condition for previous input |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Discrete Derivative | ||
|
Gain value |
|
|
Initial condition for previous weighted input K*u/Ts |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Discrete FIR Filter | ||
|
Coefficient source |
|
|
Filter structure |
注意 必须拥有 DSP System Toolbox™ 许可证才能使用非 |
|
Coefficients |
向量 - |
|
Input processing |
|
|
Initial states |
标量或向量 - |
|
Sample time (-1 for inherited) |
|
|
Coefficients minimum |
|
|
Coefficients maximum |
|
|
Output minimum |
|
|
Output maximum |
|
|
Tap sum data type |
|
|
Coefficients data type |
|
|
Product output data type |
|
|
Accumulator data type |
|
|
State data type |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Discrete Filter | ||
|
Numerator coefficients |
向量 - |
|
Denominator coefficients |
向量 - |
|
Initial states |
|
|
Sample time (-1 for inherited) |
|
|
Optimize by skipping divide by leading denominator coefficient (a0) |
|
|
Numerator coefficient minimum |
|
|
Numerator coefficient maximum |
|
|
Denominator coefficient minimum |
|
|
Denominator coefficient maximum |
|
|
Output minimum |
|
|
Output maximum |
|
|
State data type |
|
|
Numerator coefficient data type |
|
|
Denominator coefficient data type |
|
|
Numerator product output data type |
|
|
Denominator product output data type |
|
|
Numerator accumulator data type |
|
|
Denominator accumulator data type |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Discrete State-Space | ||
|
A |
矩阵 - |
|
B |
矩阵 - |
|
C |
矩阵 - |
|
D |
矩阵 - |
|
Initial conditions |
向量 - |
|
Sample time (-1 for inherited) |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Discrete Transfer Fcn | ||
Numerator
|
Numerator coefficients |
向量 - |
|
Denominator coefficients |
向量 - |
|
Initial states |
|
|
Sample time (-1 for inherited) |
|
|
Optimize by skipping divide by leading denominator coefficient (a0) |
|
|
Numerator coefficient minimum |
|
|
Numerator coefficient maximum |
|
|
Denominator coefficient minimum |
|
|
Denominator coefficient maximum |
|
|
Output minimum |
|
|
Output maximum |
|
|
State data type |
|
|
Numerator coefficient data type |
|
|
Denominator coefficient data type |
|
|
Numerator product output data type |
|
|
Denominator product output data type |
|
|
Numerator accumulator data type |
|
|
Denominator accumulator data type |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Discrete Zero-Pole | ||
|
Zeros |
向量 - |
|
Poles |
向量 - |
|
Gain |
|
|
Sample time (-1 for inherited) |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Discrete-Time Integrator ( | ||
|
Integrator method |
|
|
Gain value |
|
|
External reset |
|
|
Initial condition source |
|
|
Initial condition |
标量或向量 - |
|
Initial condition setting |
|
|
Sample time (-1 for inherited) |
|
|
Limit output |
|
|
Upper saturation limit |
标量或向量 - |
|
Lower saturation limit |
标量或向量 - |
|
Show saturation port |
|
|
Show state port |
|
|
Ignore limit and reset when linearizing |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
First-Order Hold | ||
|
Sample time |
|
Memory | ||
|
Initial condition |
标量或向量 - |
|
Inherit sample time |
|
|
Direct feedthrough of input during linearization |
|
|
Treat as a unit delay when linearizing with discrete sample time |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Tapped Delay (S-Function) | ||
|
Initial condition |
|
|
Sample time |
|
|
Number of delays |
|
|
Order output vector starting with |
|
|
Include current input in output vector |
|
Transfer Fcn First Order | ||
|
Pole (in Z plane) |
|
|
Initial condition for previous output |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Transfer Fcn Lead or Lag | ||
|
Pole of compensator (in Z plane) |
|
|
Zero of compensator (in Z plane) |
|
|
Initial condition for previous output |
|
|
Initial condition for previous input |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Transfer Fcn Real Zero | ||
|
Zero (in Z plane) |
|
|
Initial condition for previous input |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Unit Delay | ||
|
Initial condition |
标量或向量 - |
|
Input processing |
|
|
Sample time (-1 for inherited) |
|
|
State name |
|
|
State name must resolve to Simulink signal object |
|
|
Signal object class Code generation storage class |
派生于 |
|
Code generation storage class |
|
|
Code generation storage type qualifier |
|
Zero-Order Hold | ||
|
Sample time (-1 for inherited) |
|
Logic and Bit Operations 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Bit Clear ( | ||
|
Index of bit (0 is least significant) |
|
Bit Set ( | ||
|
Index of bit (0 is least significant) |
|
Bitwise Operator (S-Function) ( | ||
|
Operator |
|
|
Use bit mask ... |
|
|
输入端口个数 |
|
|
Bit Mask |
|
|
Treat mask as |
|
Combinatorial Logic ( | ||
|
Truth table |
|
|
Sample time (-1 for inherited) |
|
Compare To Constant ( | ||
|
Operator |
|
|
Constant value |
|
|
Output data type |
|
|
Enable zero-crossing detection |
|
Compare To Zero ( | ||
|
Operator |
|
|
Output data type |
|
|
Enable zero-crossing detection |
|
Detect Change ( | ||
|
Initial condition |
|
|
Output data type |
|
Detect Decrease ( | ||
|
Initial condition |
|
|
Output data type |
|
Detect Fall Negative ( | ||
|
Initial condition |
|
|
Output data type |
|
Detect Fall Nonpositive ( | ||
|
Initial condition |
|
|
Output data type |
|
Detect Increase ( | ||
|
Initial condition |
|
|
Output data type |
|
Detect Rise Nonnegative ( | ||
|
Initial condition |
|
|
Output data type |
|
Detect Rise Positive ( | ||
|
Initial condition |
|
|
Output data type |
|
Extract Bits ( | ||
|
Bits to extract |
|
|
Number of bits |
|
|
Bit indices ([start end], 0-based relative to LSB) |
|
|
Output scaling mode |
|
Interval Test ( | ||
|
Interval closed on right |
|
|
Upper limit |
|
|
Interval closed on left |
|
|
Lower limit |
|
|
Output data type |
|
Interval Test Dynamic ( | ||
|
Interval closed on right |
|
|
Interval closed on left |
|
|
Output data type |
|
Logical Operator ( | ||
|
Operator |
|
|
输入端口个数 |
|
|
Icon shape |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs and output to have the same data type |
|
|
Output data type |
|
Relational Operator | ||
|
Relational operator |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have the same data type |
|
|
Output data type |
|
Shift Arithmetic | ||
|
Bits to shift > Source |
|
|
Bits to shift > Direction |
|
|
Bits to shift > Number |
|
|
Binary points to shift > Number |
|
|
Diagnostic for out-of-range shift value |
|
|
Check for out-of-range 'Bits to shift' in generated code |
|
|
在 R2011a 中已弃用 | |
|
在 R2011a 中已弃用 |
Lookup Table 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Cosine ( | ||
|
Output formula |
|
|
Number of data points for lookup table |
|
|
Output word length |
|
|
Internal rule priority for lookup table |
|
Direct Lookup Table (n-D) ( | ||
|
Number of table dimensions |
|
|
Inputs select this object from table |
|
|
Make table an input |
|
|
Table data |
|
|
Diagnostic for out-of-range input |
|
|
Sample time (-1 for inherited) |
|
|
Table minimum |
|
|
Table maximum |
|
|
Table data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
Interpolation Using Prelookup ( | ||
|
Number of table dimensions |
|
|
Table data > Value |
|
|
Table data > Source |
|
|
Specification |
要将此参数从
set_param('myModel/myInterpBlock',... 'TableSpecification',... 'Lookup table object',... 'LookupTableObject','myLUTObject') |
|
Name of lookup table object |
|
|
Interpolation method |
|
|
Extrapolation method |
|
|
Valid index input may reach last index |
|
|
Diagnostic for out-of-range input |
|
|
Remove protection against out-of-range index in generated code |
|
|
Number of sub-table selection dimensions |
|
|
Sample time (-1 for inherited) |
|
|
Table data > Data Type |
|
|
Table data > Minimum |
|
|
Table data > Maximum |
|
|
Intermediate results > Data Type |
|
|
Output > Data Type |
|
|
Output > Minimum |
|
|
Output > Maximum |
|
|
Internal rule priority |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
在 R2011a 中已弃用 | |
n-D Lookup Table, 1-D Lookup Table, 2-D Lookup Table | ||
|
Number of table dimensions |
|
|
(n-D Lookup Table) Data specification |
要将此参数从
set_param('myModel/myLookupBlock',... 'DataSpecification','Lookup table... object',... 'LookupTableObject','myLUTObject') |
|
Name of lookup table object. |
|
|
Table data |
|
|
Breakpoints specification |
|
|
First point |
|
|
First point |
|
|
First point |
|
... |
... |
... |
|
First point |
|
|
Spacing |
|
|
Spacing |
|
|
Spacing |
|
... |
... |
... |
|
Spacing |
|
|
Breakpoints 1 |
|
|
Breakpoints 2 |
|
|
Breakpoints 3 |
|
... | ... | ... |
|
Breakpoints 30 |
|
|
Sample time (-1 for inherited) |
|
|
Interpolation method |
|
|
Extrapolation method |
|
|
Use last table value for inputs at or above last breakpoint |
|
|
Diagnostic for out-of-range input |
|
|
Remove protection against out-of-range input in generated code |
|
|
Index search method |
|
|
Begin index search using previous index result |
|
|
Use one input port for all input data |
|
|
Support tunable table size in code generation |
|
|
Maximum indices for each dimension |
|
|
Table data > Data Type |
|
|
Table data > Minimum |
|
|
Table data > Maximum |
|
|
Breakpoints 1 > Data Type |
|
|
Breakpoints 1 > Minimum |
|
|
Breakpoints 1 > Maximum |
|
|
Breakpoints 2 > Data Type |
|
|
Breakpoints 2 > Minimum |
|
|
Breakpoints 2 > Maximum |
|
| ... | ... |
|
Breakpoints 30 > Data Type |
|
|
Breakpoints 30 > Minimum |
|
|
Breakpoints 30 > Maximum |
|
|
Fraction > Data Type |
|
|
Intermediate results > Data Type |
|
|
Output > Data Type |
|
|
Output > Minimum |
|
|
Output > Maximum |
|
|
Internal rule priority |
|
|
Require all inputs to have the same data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
在 R2009b 中已弃用 | |
Lookup Table Dynamic ( | ||
|
Lookup Method |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Prelookup ( | ||
|
Specification |
要将此参数从
set_param('myModel/myPrelookupBlock',... 'BreakpointsSpecification',... 'Breakpoint object',... 'BreakpointObject','myBPObject') |
|
Name of breakpoint object |
|
|
First point |
|
|
Spacing |
|
|
Number of points |
|
|
Value |
|
|
Source |
|
|
Index search method |
|
|
Begin index search using previous index result |
|
|
Output only the index |
|
|
Extrapolation method |
|
|
Use last breakpoint for input at or above upper limit |
|
|
Diagnostic for out-of-range input |
|
|
Remove protection against out-of-range input in generated code |
|
|
Sample time (-1 for inherited) |
|
|
Breakpoint > Data Type |
|
|
Breakpoint > Minimum |
|
|
Breakpoint > Maximum |
|
|
Index > Data Type |
|
|
Fraction > Data Type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
在 R2011a 中已弃用 | |
Sine ( | ||
|
Output formula |
|
|
Number of data points for lookup table |
|
|
Output word length |
|
|
Internal rule priority for lookup table |
|
Math Operations 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Abs | ||
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Add ( | ||
|
Icon shape |
|
|
List of signs |
|
|
Sum over |
|
|
Dimension |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have the same data type |
|
|
Accumulator data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
代数约束 | ||
|
Constraint on input signal |
|
|
Algebraic Loop Solver |
|
|
Solver Tolerance |
|
|
Initial guess |
|
Assignment ( | ||
|
Number of output dimensions |
|
|
Index mode |
|
|
Initialize output (Y) |
|
|
Index Option |
|
|
Index |
元胞数组 |
|
Output Size |
元胞数组 |
|
Action if any output element is not assigned |
|
|
Sample time (-1 for inherited) |
|
|
有关详细信息,请参阅 IndexOptionArray 参数。 | |
|
有关详细信息,请参阅 IndexParamArray 参数。 | |
|
有关详细信息,请参阅 OutputSizeArray 参数。 | |
Bias ( | ||
|
Bias |
|
|
Saturate on integer overflow |
|
Complex to Magnitude-Angle ( | ||
|
Output |
|
|
Sample time (-1 for inherited) |
|
Complex to Real-Imag ( | ||
|
Output |
|
|
Sample time (-1 for inherited) |
|
Divide ( | ||
|
Number of inputs |
|
|
Multiplication |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Dot Product ( | ||
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Find ( | ||
|
Index output format |
|
|
Number of input dimensions |
整数 - |
|
Index mode |
|
|
Show output port for nonzero input values |
|
|
Sample time (–1 for inherited) |
|
|
Output data type |
|
Gain ( | ||
|
Gain |
|
|
Multiplication |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Parameter minimum |
|
|
Parameter maximum |
|
|
Parameter data type |
|
Magnitude-Angle to Complex ( | ||
|
Input |
|
|
Magnitude or Angle |
|
|
Approximation method |
|
|
Number of iterations |
|
|
Scale output by reciprocal of gain factor |
|
|
Sample time (-1 for inherited) |
|
Math Function ( | ||
|
Function |
|
|
Output signal type |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Matrix Concatenate ( | ||
|
Number of inputs |
|
|
Mode |
|
|
Concatenate dimension |
|
MinMax ( | ||
|
Function |
|
|
输入端口个数 |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have the same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
MinMax Running Resettable ( | ||
|
Function |
|
|
Initial condition |
|
Permute Dimensions ( | ||
|
Order |
|
Polynomial ( | ||
|
Polynomial Coefficients |
|
Product ( | ||
|
Number of inputs |
|
|
Multiplication |
|
|
Multiply over |
|
|
Dimension |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Product of Elements ( | ||
|
Number of inputs |
|
|
Multiplication |
|
|
Multiply over |
|
|
Dimension |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Real-Imag to Complex ( | ||
|
Input |
|
|
Real part or Imag part |
|
|
Sample time (-1 for inherited) |
|
Reciprocal Sqrt ( | ||
|
Function |
|
|
Output signal type |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Intermediate results data type |
|
|
Method |
|
|
Number of iterations |
|
Reshape ( | ||
|
Output dimensionality |
|
|
Output dimensions |
|
Rounding Function ( | ||
|
Function |
|
|
Sample time (-1 for inherited) |
|
Sign ( | ||
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
Signed Sqrt ( | ||
|
Function |
|
|
Output signal type |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Intermediate results data type |
|
|
Method |
|
|
Number of iterations |
|
Sine Wave Function ( | ||
|
Sine type |
|
|
Time |
|
|
Amplitude |
|
|
Bias |
|
|
Frequency |
|
|
Phase |
|
|
Samples per period |
|
|
Number of offset samples |
|
|
Sample time |
|
|
Interpret vector parameters as 1-D |
|
Slider Gain ( | ||
|
Low |
|
|
Gain |
|
|
High |
|
Sqrt ( | ||
|
Function |
|
|
Output signal type |
|
|
Sample time (-1 for inherited) |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Intermediate results data type |
|
|
Method |
|
|
Number of iterations |
|
Squeeze ( | ||
None |
None |
None |
Subtract ( | ||
|
Icon shape |
|
|
List of signs |
|
|
Sum over |
|
|
Dimension |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have the same data type |
|
|
Accumulator data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Sum ( | ||
|
Icon shape |
|
|
List of signs |
|
|
Sum over |
|
|
Dimension |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have the same data type |
|
|
Accumulator data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Sum of Elements ( | ||
|
Icon shape |
|
|
List of signs |
|
|
Sum over |
|
|
Dimension |
|
|
Sample time (-1 for inherited) |
|
|
Require all inputs to have the same data type |
|
|
Accumulator data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock data type settings against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
Trigonometric Function ( | ||
|
Function |
|
|
Approximation method |
|
|
Number of iterations |
|
|
Output signal type |
|
|
Sample time (-1 for inherited) |
|
Unary Minus ( | ||
|
Sample time (-1 for inherited) |
|
|
Saturate on integer overflow |
|
Vector Concatenate ( | ||
|
Number of inputs |
|
|
Mode |
|
Weighted Sample Time Math ( | ||
|
Operation |
|
|
Weight value |
|
|
Implement using |
|
|
Output data type |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 |
Model Verification 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Assertion ( | ||
|
Enable assertion |
|
|
Simulation callback when assertion fails |
|
|
Stop simulation when assertion fails |
|
|
Sample time (-1 for inherited) |
|
Check Dynamic Gap ( | ||
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Dynamic Range ( | ||
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Static Gap | ||
|
Upper bound |
|
|
Inclusive upper bound |
|
|
Lower bound |
|
|
Inclusive lower bound |
|
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Static Range ( | ||
|
Upper bound |
|
|
Inclusive upper bound |
|
|
Lower bound |
|
|
Inclusive lower bound |
|
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Discrete Gradient ( | ||
|
Maximum gradient |
|
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Dynamic Lower Bound ( | ||
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Dynamic Upper Bound ( | ||
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Input Resolution ( | ||
|
Resolution |
|
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
Check Static Lower Bound ( | ||
|
Lower bound |
|
|
Inclusive boundary |
|
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Check Static Upper Bound ( | ||
|
Upper bound |
|
|
Inclusive boundary |
|
|
Enable assertion |
|
|
Simulation callback when assertion fails (optional) |
|
|
Stop simulation when assertion fails |
|
|
Output assertion signal |
|
|
Select icon type |
|
Model-Wide Utilities 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Block Support Table ( | ||
DocBlock ( | ||
|
Embedded Coder® Flag |
|
|
Document Type |
|
Model Info ( | ||
|
InitialSaveTempField |
|
|
InitialBlockCM |
|
|
BlockCM |
|
|
Show block frame |
|
|
SaveTempField |
|
|
DisplayStringWithTags |
|
|
MaskDisplayString |
|
|
Horizontal text alignment |
|
|
LeftAlignmentValue |
|
|
SourceBlockDiagram |
|
|
TagMaxNumber |
|
|
CMTag1 |
|
|
CMTag2 |
|
|
CMTag3 |
|
|
CMTag4 |
|
|
CMTag5 |
|
|
CMTag6 |
|
|
CMTag7 |
|
|
CMTag8 |
|
|
CMTag9 |
|
|
CMTag10 |
|
|
CMTag11 |
|
|
CMTag12 |
|
|
CMTag13 |
|
|
CMTag14 |
|
|
CMTag15 |
|
|
CMTag16 |
|
|
CMTag17 |
|
|
CMTag18 |
|
|
CMTag19 |
|
|
CMTag20 |
|
Timed-Based Linearization ( | ||
|
Linearization time |
|
|
Sample time (of linearized model) |
|
Trigger-Based Linearization ( | ||
|
Trigger type |
|
|
Sample time (of linearized model) |
|
Ports & Subsystems 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Action Port (ActionPort ) | ||
| States when execution is resumed |
|
| Propagate sizes of variable-size signals |
|
Atomic Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Treat as grouped when propagating variant conditions |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| Function interface 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 无对话框提示 如果设置为 |
|
| 布尔值 - 只读 | |
Code Reuse Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 此参数需要具有 Embedded Coder 软件的许可证和一个基于 ERT 的系统目标文件。 |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
Configurable Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 无对话框提示 如果设置为 |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 无对话框提示 | 布尔值 - 只读 |
Enable ( | ||
| States when enabling |
|
| Propagate sizes of variable-size signals |
|
| Show output port |
|
| Enable zero-crossing detection |
|
Enabled and Triggered Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
Enabled Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
For Each( | ||
| Partition | 字符向量元胞数组 |
| Partition dimension for input signal | 字符向量元胞数组 |
| Width of partition for input signal | 字符向量元胞数组 |
| Concatenation dimension of output signal | 字符向量元胞数组 |
For Iterator ( | ||
| States when starting |
|
| Iteration limit source |
|
| Iteration limit |
|
| Set next i (iteration variable) externally |
|
| Show iteration variable |
|
| Index mode |
|
| Iteration variable data type |
|
For Iterator Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
Function-Call Generator ( | ||
| Sample time |
|
| Number of iterations |
|
Function-Call Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
If ( | ||
| Number of inputs |
|
| If expression (e.g., u1 ~= 0) |
|
| Elseif expressions (comma-separated list, e.g., u2 ~= 0, u3(2) < u2) |
|
| Show else condition |
|
| Enable zero-crossing detection |
|
| Sample time (-1 for inherited) |
|
If Action Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Function packaging |
|
| Function name options |
|
| Function name |
|
| File name options |
|
| File name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
In1 ( | ||
| Port number |
|
| Icon display |
|
| Latch input by delaying outside signal |
|
| Latch input for feedback signals of function-call subsystem outputs |
|
| Interpolate data |
|
| Specify properties via bus object |
|
| Bus object for specifying bus properties |
|
| Output as nonvirtual bus |
|
| Port dimensions (-1 for inherited) |
|
| Sample time (-1 for inherited) |
|
| Minimum |
|
| Maximum |
|
| Data type |
|
| Lock output data type setting against changes by the fixed-point tools |
|
| 指定模块的输入信号的物理单位。 |
|
| 指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
| Signal type |
|
Model ( | ||
| 引用模型的名称与您键入的名称完全相同,前后的空格均被删除。当您以编程方式或通过 GUI 设置 |
|
| 去除了所提供的文件扩展名的 | 字符向量 - 设置 |
| 带有文件扩展名的 | 字符向量 - 设置 |
| 只读布尔值,指示模块引用的模型是受保护 ( | 布尔值 - 'off' | 'on' - 设置 ModelNameDialog 后自动设置。 |
| Model 模块上实例特定参数的结构体数组。 | 包含下列字段的结构体:Name 、Value 、Path 和 Argument 。 |
| 引用模型定义的实例特定参数的名称。对应于 Instance parameters 选项卡上表中的 Name 列。 |
|
| 模型参数的值。对应于 Instance parameters 选项卡上表中的 Value 列。 | 不包含字段的结构体 |
| 指定是否通过生成并执行代码或者通过在 Simulink 软件中解析模型来执行模型仿真。 |
|
Variant | 指定 Model 模块是否引用变体模型或 Variant Subsystems。 | {'off'} | 'on' |
VariantConfigurationObject | 指定与模型关联的变体配置对象。 | {''} 如果没有关联的配置对象,则值为空字符向量;否则,值为 Simulink.VariantConfigurationData 对象的名称。 |
LabelModeActiveChoice | 用于在 VariantcontrolMode 设置为 Label 时指定所选项,其值为 Label 模式活动选择项的名称。 | {''} 如果未指定 Label 模式活动选择项,则该值为空字符向量;否则为 Label 模式活动选择项的名称。 |
ActiveVariant | 正处于活动状态的变体,可能是因为变体条件为 true ,或者是因为 LabelModeActiveChoice 指定了此变体。 | {''} 如果没有处于活动状态的变体,则值为空字符向量;否则,值为处于活动状态的变体的名称。 |
GeneratePreprocessor | 在本地控制生成的代码是否包含预处理器条件句。此参数仅适用于 Simulink Coder 代码生成,对 Simulink 中的模型行为没有任何影响。 此参数仅可用于 ERT 目标。有关详细信息,请参阅变体系统 (Embedded Coder)。 | {'off'} | 'on' |
|
| |
Out1 ( | ||
Port | Port number |
|
| Icon display |
|
| Specify properties via bus object |
|
| Bus object for validating input bus |
|
| Output as nonvirtual bus in parent model |
|
| Port dimensions (-1 for inherited) |
|
| Variable-size signal |
|
| Sample time (-1 for inherited) |
|
| Minimum |
|
| Maximum |
|
| Data type |
|
| Lock output data type setting against changes by the fixed-point tools |
|
| 指定模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
| 指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
| 此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)。 |
派生于 |
| 此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)。 |
|
| Signal name | 字符向量 |
| Signal type |
|
| Output when disabled |
|
| Initial output |
|
| 此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅用于信号。 |
|
Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Treat as grouped when propagating variant conditions |
|
| Variant control |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Code generation function packaging |
|
| Code generation function name options |
|
| Code generation function name |
|
| Code generation file name options |
|
| Code generation file name (no extension) |
|
| 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
| 供内部使用。 | |
Switch Case ( | ||
| Case conditions (e.g., {1,[2,3]}) |
|
| Show default case |
|
| Enable zero-crossing detection |
|
| Sample time (-1 for inherited) |
|
| 在 R2009b 中已弃用 | |
Switch Case Action Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Code generation function packaging |
|
| Code generation function name options |
|
| Code generation function name |
|
| Code generation file name options |
|
| Code generation file name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
Trigger ( | ||
| Trigger type |
|
| Configure the Function-call subsystem to be a Simulink Function |
|
| States when enabling |
|
| Propagate sizes of variable-size signals |
|
| Show output port |
|
| Output data type |
|
| Sample time type |
|
| Sample time |
|
| Enable zero-crossing detection |
|
| Port dimensions (-1 for inherited) |
|
| Trigger signal sample time |
|
| Minimum |
|
| Maximum |
|
| Data type |
|
| Interpolate data |
|
Triggered Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Code generation function packaging |
|
| Code generation function name options |
|
| Code generation function name |
|
| Code generation file name options |
|
| Code generation file name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 | |
Unit Conversion | ||
| Output data type |
|
Unit System Configuration | ||
| 允许或限制单位制。 | 布尔值 - |
| 显示允许使用的单位制。 | 字符向量元胞数组 - |
While Iterator ( | ||
| Maximum number of iterations (-1 for unlimited) |
|
| While loop type |
|
| States when starting |
|
| Show iteration number port |
|
| Output data type |
|
While Iterator Subsystem ( | ||
| Show port labels 注意 值 |
|
| Block choice |
|
| Template block |
|
| Member blocks |
|
| Read/Write permissions |
|
| Name of error callback function |
|
| Permit hierarchical resolution |
|
| Treat as atomic unit |
|
| Minimize algebraic loop occurrences |
|
| Warn if function-call inputs are context-specific |
|
| Sample time (-1 for inherited) |
|
| Code generation function packaging |
|
| Code generation function name options |
|
| Code generation function name |
|
| Code generation file name options |
|
| Code generation file name (no extension) |
|
| 无对话框提示 指定用来覆盖定点数据类型的数据类型。通过定点工具上的 Data type override 来设置。 |
|
| 无对话框提示 定点检测设置。通过定点工具上的 Fixed-point instrumentation mode 来设置。 |
|
| 布尔值 - 只读 |
Signal Attributes 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Bus to Vector ( | ||
Data Type Conversion ( | ||
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Input and output to have equal |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Sample time (-1 for inherited) |
|
Data Type Conversion Inherited ( | ||
|
Input and Output to have equal |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Data Type Duplicate ( | ||
|
输入端口个数 |
|
Data Type Propagation ( | ||
|
1.Propagated data type |
|
|
1.1.Propagated data type (e.g., |
|
|
1.1.If any reference input is double, output is |
|
|
1.2.If any reference input is single, output is |
|
|
1.3.Is-Signed |
|
|
1.4.1.Number-of-Bits:Base |
|
|
1.4.2.Number-of-Bits:Multiplicative adjustment |
|
|
1.4.3.Number-of-Bits:Additive adjustment |
|
|
1.4.4.Number-of-Bits:Allowable final values |
|
|
2.Propagated scaling |
|
|
2.1.Propagated scaling:Slope or [Slope Bias] ex.2^-9 |
|
|
2.1.Values used to determine best precision scaling |
|
|
2.1.1.Slope:Base |
|
|
2.1.2.Slope:Multiplicative adjustment |
|
|
2.1.3.Slope:Additive adjustment |
|
|
2.2.1.Bias:Base |
|
|
2.2.2.Bias:Multiplicative adjustment |
|
|
2.2.3.Bias:Additive adjustment |
|
Data Type Scaling Strip ( | ||
IC ( | ||
|
Initial value |
|
|
Sample time (-1 for inherited) |
|
Probe ( | ||
|
Probe width |
|
|
Probe sample time |
|
|
Detect complex signal |
|
|
Probe signal dimensions |
|
|
Detect framed signal |
|
|
Data type for width |
|
|
Data type for sample time |
|
|
Data type for signal complexity |
|
|
Data type for signal dimensions |
|
|
Data type for signal frames |
|
Rate Transition ( | ||
|
Ensure data integrity during data transfer |
|
|
Ensure deterministic data transfer (maximum delay) |
|
|
Initial conditions |
|
|
Output port sample time options |
|
|
Sample time multiple (>0) |
|
|
Output port sample time |
|
Signal Conversion ( | ||
|
Output |
|
|
Data type |
|
|
Exclude this block from 'Block reduction' optimization |
|
Signal Specification ( | ||
|
Dimensions (-1 for inherited) |
|
|
Variable-size signal |
|
|
Sample time (-1 for inherited) |
|
|
Minimum |
|
|
Maximum |
|
|
Data type |
|
|
Require nonvirtual bus |
|
|
指定模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
|
指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Signal type |
|
Weighted Sample Time ( | ||
|
Operation |
|
|
Weight value |
|
|
Implement using |
|
|
Output data type |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
在 R2009b 中已弃用 | |
|
在 R2009b 中已弃用 | |
Width ( | ||
|
Output data type mode |
|
|
Output data type |
|
Signal Routing 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Bus Assignment ( | ||
| Elements that are being assigned |
|
| Elements in the bus |
矩阵 - |
Bus Creator ( | ||
| Use names from inputs instead of from bus object |
如果设置为 |
|
Number of inputs |
|
|
| |
|
Output as nonvirtual bus |
|
|
Data type |
|
Bus Selector ( | ||
| Selected elements |
字符向量 - 格式为 |
|
Output as bus |
|
|
Signals in bus |
矩阵 - |
Data Store Memory ( | ||
|
Data store name |
|
|
Detect read before write |
|
|
Detect write after write |
|
|
Detect write after read |
|
|
Initial value |
|
|
Data store name must resolve to Simulink signal object |
|
|
Log Signal Data |
|
|
Logging Name |
|
|
Logging Name |
|
|
Limit data points to last |
|
|
Limit data points to last |
非零整数 |
|
Decimation |
|
|
Decimation |
非零整数 |
|
Storage class |
|
|
Signal object class Storage class |
派生于 |
|
Code generation type qualifier |
|
|
Interpret vector parameters as 1-D |
|
|
Show additional parameters |
|
|
Minimum |
|
|
Maximum |
|
|
Data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Signal type |
|
Data Store Read ( | ||
DataStoreElements | 对应于模块对话框的 Element Selection 选项卡上的参数。请参阅使用命令行指定。 | |
|
Data store name |
|
|
Sample time |
|
Data Store Write ( | ||
DataStoreElements | 对应于模块对话框的 Element Assignment 选项卡上的参数。请参阅使用命令行指定。 | |
|
Data store name |
|
|
Sample time (-1 for inherited) |
|
Demux ( | ||
|
Number of outputs |
|
|
Display option |
|
Environment Controller ( | ||
From ( | ||
|
Goto tag |
|
|
Icon display |
|
Goto ( | ||
| Goto tag |
|
|
Icon display |
|
|
Tag visibility |
|
Goto Tag Visibility ( | ||
|
Goto tag |
|
Index Vector ( | ||
|
Data port order |
|
|
Number of data ports |
|
|
在 R2010a 中已弃用 | |
|
Sample time (-1 for inherited) |
|
|
Require all data port inputs to have the same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Allow different data input sizes (Results in variable-size output signal) |
|
Manual Switch ( | ||
|
Allow different input sizes (Results in variable-size output signal) |
|
|
Sample time (-1 for inherited) |
|
Merge ( | ||
|
Number of inputs |
|
|
Initial output |
|
|
Allow unequal port widths |
|
|
Input port offsets |
|
Multiport Switch ( | ||
|
Data port order |
|
|
Number of data ports |
|
|
在 R2010a 中已弃用 | |
|
Data port indices |
|
|
Data port for default case |
|
|
Diagnostic for default case |
|
|
Sample time (-1 for inherited) |
|
|
Require all data port inputs to have the same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Allow different data input sizes (Results in variable-size output signal) |
|
Mux ( | ||
|
Number of inputs |
|
|
Display option |
|
|
供内部使用。 | |
|
供内部使用。 | |
|
供内部使用。 | |
Selector ( | ||
|
Number of input dimensions |
|
|
Index mode |
|
|
Index Option |
|
|
Index |
元胞数组 |
|
Output Size |
元胞数组 |
|
Input port size |
|
|
Sample time (-1 for inherited) |
|
|
有关详细信息,请参阅 IndexOptionArray 参数。 | |
|
有关详细信息,请参阅 IndexParamArray 参数。 | |
|
有关详细信息,请参阅 IndexParamArray 参数。 | |
Switch ( | ||
|
Criteria for passing first input |
|
|
Threshold |
|
|
Enable zero-crossing detection |
|
|
Sample time (-1 for inherited) |
|
|
Require all data port inputs to have the same data type |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Allow different input sizes (Results in variable-size output signal) |
|
Variant Source ( | ||
| Variant control |
|
| Label mode active choice |
|
| Allow zero active variant controls |
|
| Show variant condition on block |
|
| Variant activation time |
|
|
如果没有处于活动状态的变体,则值为空字符串;否则,值为处于活动状态的变体的名称。在查询此属性之前先编译模型。 | |
|
如果没有处于活动状态的变体,则值为 | |
Variant Sink ( | ||
| Variant control |
|
| Label mode active choice |
|
| Allow zero active variant controls |
|
| Show variant condition on block |
|
| Variant activation time |
|
|
如果没有处于活动状态的变体,则值为空字符串;否则,值为处于活动状态的变体的名称。在查询此属性之前先编译模型。 | |
|
如果没有处于活动状态的变体,则值为 | |
Vector Concatenate ( | ||
|
Number of inputs |
|
|
Mode |
|
Sinks 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Display ( | ||
|
Format |
|
|
Decimation |
|
|
Floating display |
|
|
Sample time (-1 for inherited) |
|
Floating Scope ( | ||
|
| |
|
向量 - | |
|
| |
| 不要通过命令行更改此参数。要添加输入,请使用信号选择器按钮 | |
|
| |
|
| |
|
字符向量 | |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
Out1 ( | ||
Port |
Port number |
|
|
Icon display |
|
|
Output as nonvirtual bus in parent model |
|
|
Port dimensions (-1 for inherited) |
|
|
Variable-size signal |
|
|
Sample time (-1 for inherited) |
|
|
Minimum |
|
|
Maximum |
|
|
Data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)。 |
派生于 |
|
此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅Design Data Interface by Configuring Inport and Outport Blocks (Simulink Coder)。 |
|
|
Signal name |
字符向量 |
|
Signal type |
|
|
Output when disabled |
|
|
Initial output |
|
|
此参数不会显示在模块对话框中。请改用模型数据编辑器。请参阅用于信号。 |
|
Scope ( | ||
|
| |
Location |
向量 - | |
|
| |
| 不要通过 set_param 命令更改此参数。在这种情况下,请使用 TimeScopeConfiguration 对象或 Scope 模块中的 Number of Input Ports 参数。 | |
|
| |
|
| |
|
字符向量 | |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
Stop Simulation | ||
Terminator | ||
To File ( | ||
|
File name |
|
|
Variable name |
|
|
Save format |
|
|
Decimation |
|
|
Sample time (-1 for inherited) |
|
To Workspace ( | ||
|
Variable name |
|
|
Limit data points to last |
|
|
Decimation |
|
|
Sample time (-1 for inherited) |
|
|
Save format |
|
|
Log fixed-point data as an fi object |
|
XY Graph ( | ||
|
x-min |
|
|
x-max |
|
|
y-min |
|
|
y-max |
|
|
Sample time |
|
Sources 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Band-Limited White Noise | ||
|
Noise power |
|
|
Sample time |
|
|
Seed |
|
|
Interpret vector parameters as 1-D |
|
Chirp Signal ( | ||
|
Initial frequency |
|
|
Target time |
|
|
Frequency at target time |
|
|
Interpret vectors parameters as 1-D |
|
Clock ( | ||
|
Display time |
|
|
Decimation |
|
Constant ( | ||
|
Constant value |
|
|
Interpret vector parameters as 1-D |
|
|
Sampling time |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Sample time |
|
|
Frame period |
|
Counter Free-Running ( | ||
|
Number of Bits |
|
|
Sample time |
|
Counter Limited ( | ||
|
Upper limit |
|
|
Sample time |
|
Digital Clock ( | ||
|
Sample time |
|
Enumerated Constant ( | ||
|
Output data type |
|
|
Value |
|
|
Sample time |
|
From File ( | ||
|
File name |
|
|
Data extrapolation before first data point |
|
|
Data interpolation within time range |
|
|
Data extrapolation after last data point |
|
|
Sample time |
|
From Workspace ( | ||
|
Data |
|
|
Output Data type |
|
|
Sample time |
|
|
Interpolate data |
|
|
Enable zero-crossing detection |
|
|
Form output after final data value by |
|
Ground | ||
In1 ( | ||
|
Port number |
|
|
Icon display |
|
|
Output as nonvirtual bus |
|
|
Port dimensions (-1 for inherited) |
|
|
Variable-size signal |
|
|
Sample time (-1 for inherited) |
|
|
Minimum |
|
|
Maximum |
|
|
Data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
指定模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
|
指定无传播时模块的输入信号的物理单位。有关可接受的单位列表,请参阅允许使用的单位。 |
|
|
Signal type |
|
|
Latch input by delaying outside signal |
|
|
Latch input for feedback signals of function-call subsystem outputs |
|
|
Output a function-call trigger signal |
|
|
Interpolate data |
|
Pulse Generator ( | ||
|
Pulse type |
|
|
Time (t) |
|
|
Amplitude |
|
|
Period |
|
|
Pulse width |
|
|
Phase delay |
|
|
Sample time |
|
|
Interpret vector parameters as 1-D |
|
Ramp ( | ||
|
Slope |
|
|
Start time |
|
|
Initial output |
|
|
Interpret vector parameters as 1-D |
|
Random Number ( | ||
|
Mean |
|
|
Variance |
|
|
Seed |
|
|
Sample time |
|
|
Interpret vector parameters as 1-D |
|
Repeating Sequence ( | ||
|
Time values |
|
|
Output values |
|
Repeating Sequence Interpolated ( | ||
|
Vector of output values |
|
|
Vector of time values |
|
|
Lookup Method |
|
|
Sample time |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
Repeating Sequence Stair ( | ||
|
Vector of output values |
|
|
Sample time |
|
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
在 R2007b 中已弃用 | |
|
Lock output data type setting against changes by the fixed-point tools |
|
Signal Builder ( | ||
Signal Editor ( | ||
|
File name |
|
|
Active scenario |
|
|
Signals |
|
|
Output a bus signal |
|
| Select bus object |
|
| Sample time |
|
| Interpolate data |
|
| Enable zero-crossing detection |
|
|
Form output after final data value by |
|
|
Unit |
|
| — | 布尔值 - |
| — | 只读。使用 |
| — | 只读。使用 |
Signal Generator ( | ||
|
Wave form |
|
|
Time (t) |
|
|
Amplitude |
|
|
Frequency |
|
|
Units |
|
|
Interpret vector parameters as 1-D |
|
Sine Wave ( | ||
|
Sine type |
|
|
Time |
|
|
Amplitude |
|
|
Bias |
|
|
Frequency |
|
|
Phase |
|
|
Samples per period |
|
|
Number of offset samples |
|
SampleTime |
Sample time |
|
VectorParams1D |
Interpret vector parameters as 1-D |
|
Step ( | ||
|
Step time |
|
|
Initial value |
|
|
Final value |
|
|
Sample time |
|
|
Interpret vector parameters as 1-D |
|
|
Enable zero-crossing detection |
|
Uniform Random Number ( | ||
|
Minimum |
|
|
Maximum |
|
|
Seed |
|
|
Sample time |
|
|
Interpret vector parameters as 1-D |
|
Waveform Generator ( | ||
|
Output minimum |
|
|
Output maximum |
|
|
Output data type |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate on integer overflow |
|
|
Output signal |
|
|
Sample time |
|
String 库模块参数
模块(类型)/参数 | 对话框提示 | 值 |
---|---|---|
Compose String ( | ||
| Format | 标量
|
| Output data type | {"stringtype(255)"} | "stringtype( | "string" |
Scan String ( | ||
| Format | 标量
|
String Compare ( | ||
| 字符串比较区分大小写 |
|
| 要比较的字符量 |
|
| 要比较的字符数 |
|
String Concatenate ( | ||
| Number of inputs |
|
| Output data type | {"stringtype(128)"} | "stringtype( | "string" |
String Constant ( | ||
| String |
|
| Output data type | {"stringtype(128)"} | "stringtype( | "string" |
String to ASCII ( | ||
| Output vector size |
|
String to Double ( | ||
| Format | 标量
|
String to Enum ( | ||
| Output data type | {"Enum: SlDemoSign"} | <data type
expression> |
String to Single ( | ||
| Format | 标量
|
Substring ( | ||
| Inherit maximum length from input |
|
| Output data type | {"stringtype(31)"} | "stringtype( | "string" |
| Output string from 'idx' to end |
|
User-Defined Functions 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
MATLAB Function ( | ||
MATLAB System ( | ||
|
System object class name |
|
Level-2 MATLAB S-Function ( | ||
|
S-function name |
|
| Arguments |
|
Interpreted MATLAB Function ( | ||
|
MATLAB function |
|
|
Output dimensions |
|
|
Output signal type |
|
|
Collapse 2-D results to 1-D |
|
|
Sample time (-1 for inherited) |
|
S-Function ( | ||
|
S-function name |
|
|
S-function parameters |
|
|
S-function modules |
|
S-Function Builder ( | ||
|
S-function name |
|
|
S-function parameters |
|
|
S-function modules |
|
Additional Discrete 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Fixed-Point State-Space ( | ||
|
State Matrix A |
|
|
Input Matrix B |
|
|
Output Matrix C |
|
|
Direct Feedthrough Matrix D |
|
|
Initial condition for state |
|
|
Data type for internal calculations |
|
|
Scaling for State Equation AX+BU |
|
|
Scaling for Output Equation CX+DU |
|
|
Lock output data type setting against changes by the fixed-point tools |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Transfer Fcn Direct Form II ( | ||
|
Numerator coefficients |
|
|
Denominator coefficients excluding lead (which must be 1.0) |
|
|
Initial condition |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Transfer Fcn Direct Form II Time Varying ( | ||
|
Initial condition |
|
|
Integer rounding mode |
|
|
Saturate to max or min when overflows occur |
|
Unit Delay Enabled ( | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay Enabled External IC ( | ||
|
Sample time |
|
Unit Delay Enabled Resettable ( | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay Enabled Resettable External IC ( | ||
|
Sample time |
|
Unit Delay External IC ( | ||
|
Sample time |
|
Unit Delay Resettable ( | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay Resettable External IC ( | ||
|
Sample time |
|
Unit Delay With Preview Enabled ( | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay With Preview Enabled Resettable ( | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay With Preview Enabled Resettable External RV (U | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay With Preview Resettable ( | ||
|
Initial condition |
|
|
Sample time |
|
Unit Delay With Preview Resettable External RV ( | ||
|
Initial condition |
|
|
Sample time |
|
Additional Math:Increment - Decrement 库模块参数
模块(类型)/参数 |
对话框提示 |
值 |
---|---|---|
Decrement Real World ( | ||
Decrement Stored Integer ( | ||
Decrement Time To Zero ( | ||
Decrement To Zero ( | ||
Increment Real World ( | ||
Increment Stored Integer ( |