Clear Filters
Clear Filters

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

3 views (last 30 days)
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
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:

More Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!