Simulink.BlockDiagram.addBusToVector
通过将总线添加到向量块中,将虚拟总线信号转换为向量信号
句法
Description
[[
搜索模型,不包括任何库块,以隐式用作向量使用的总线信号,并返回搜索结果。目的地
,,,,BustovectorBlocks
,,,,ignoredBlocks
] = 金宝appsimulink.blockdiagram.addbustovector(模型
)
[[
searches a model, and if目的地
,,,,BustovectorBlocks
,,,,ignoredBlocks
] = 金宝appsimulink.blockdiagram.addbustovector(模型
,,,,包括
)包括
是true
,包括在搜索库中隐含用作向量的总线信号。
[[
searches a model, and if目的地
,,,,BustovectorBlocks
,,,,ignoredBlocks
] = 金宝appsimulink.blockdiagram.addbustovector(模型
,,,,包括
,,,,报告
)报告
是调成错误的
,然后函数插入巴士到矢量块进入每个总线,该总线在其搜索的任何块中用作向量。插入替代了将总线作为向量的隐式使用,将总线显式转换为向量。信号的源和目标块不变。
如果Simulink.BlockDiagram.addBusToVector
adds巴士到矢量blocks to the model or any library, the function changes the saved copy of the diagram.
如果Simulink.BlockDiagram.addBusToVector
changes a library block, the change affects every instance of that block in every model that uses the library.
[[
searches a model, and if目的地
,,,,BustovectorBlocks
,,,,ignoredBlocks
] = 金宝appsimulink.blockdiagram.addbustovector(模型
,,,,包括
,,,,报告
,,,,严格
)严格
是true
,,,,the function checks for input bus signals used implicitly as vectors that are fed into one of these blocks. These blocks cannot take virtual bus signals, but they can accept nonvirtual bus signals:
延迟
选择器
任务
Vector Concatenate
Reshape
Permute Dimensions