Virtual Bus as model input

조회 수: 9 (최근 30일)
Frank
Frank 2012년 1월 20일
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