Virtual Bus as model input

11 次查看(过去 30 天)
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.

采纳的回答

Kaustubha Govind
Kaustubha Govind 2012-1-20
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.

更多回答(0 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by