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.
Virtual Bus as model input
2 次查看(过去 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.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!