Converting from non-virtual to virtual bus with MATLAB Function block
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 13 Dec 2017
Edited: MathWorks Support Team
on 17 Apr 2024
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?
Accepted Answer
MathWorks Support Team
on 17 Apr 2024
Edited: MathWorks Support Team
on 17 Apr 2024
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 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!