Clear Filters
Clear Filters

Virtual Bus as model input

4 views (last 30 days)
Frank
Frank on 20 Jan 2012
Hi,
I am pretty sure that it is not possible, but since I am not an expert I ask anyway: Is it possible to have a virtual bus as an input to a model reference?
Currently when I have a bus selector connected to an in block there are no signals displayed that I could use. But technically since the model is referenced by another model simulink could resolve the signal names...
Is there a mechanism to do this?
Cheers, Frank.

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 20 Jan 2012
I think you need to convert the virtual bus to a non-virtual bus to be able to input it to a referenced model. Right-click on your subsystem and select 'Convert to Model block' to use the subsystem-to-model reference conversion utility. The tool automatically creates a bus object for the input. The demo model sldemo_mdlref_conversion also illustrates this.

More Answers (0)

Categories

Find more on Create Large-Scale Model Components in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!