使用Variants的多个输入之间的路由
金宝appSimulink /信号路由
这变体源块具有一个或多个输入端口和一个输出端口。您可以将变体选项定义为连接到输入端口的块,以便最多一个选择是活动的。
Each input port is associated with a Variant control. The Variant control that evaluates to真的
, determines which input port is active.
当。。。的时候变体激活时间块对话框中的选项设置为更新图
,然后在模拟simulink期间金宝app®connects the active choice directly to the output port of the变体源阻止并忽略非活动选择。
Note
Sample time for single input变体源blocks can differ with multiple input变体源blocks. For more information on sample time, see什么是样本时间?
数据类型 |
|
直接喂养 |
|
多维信号 |
|
可变尺寸信号 |
|
Zero-Crossing Detection |
|