Converting from non-virtual to virtual bus with MATLAB Function block

4 次查看(过去 30 天)
When I create a MATLAB Function block with a bus as an output, I want that bus to be virtual, but it seems to automatically be set to non-virtual. How can I change this setting?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2024-4-17
MATLAB Function blocks only support non-virtual buses, as noted here: 
To work around this, you can convert a non-virtual bus to virtual using a Signal Conversion Block with the "Output" parameter set to "Virtual bus", as described here:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Composite Interfaces 的更多信息

标签

尚未输入任何标签。

产品


版本

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by