フィルターのクリア

Bus in Simulink

1 回表示 (過去 30 日間)
waso
waso 2011 年 7 月 14 日
Hello,
I am a begginer in simulink and I am trying to pass a structure from one block to another block.
My first approach is utilizing a bus to send the structure from the first block to the second one, but I do not know how to connect both blocks with a bus.
Every time I connect them, it appears an only cable. I gave a name to the cable and I tried to use "Simulink.BusElement". I changed the dimensions to 5, but it happens nothing.
Thank you very much in advance for your time.
Best regards,wasomix

回答 (2 件)

Nirmal Gunaseelan
Nirmal Gunaseelan 2011 年 7 月 14 日
I am suspecting that you created a Simulink.BusElement, assigned it as element to a Simulink.Bus and used the Simulink.Bus object henceforth in your model. The issue here is, when you change the dimensions of Simulink.BusElement, that change will not reflect in the element (it is only a copy and does not 'refer' to the original) of the Simulink.Bus. Try changing Simulink.Bus object's Element(1).Dimensions.

waso
waso 2011 年 7 月 15 日
Thank you very much Nirmal, I am going to do the changes you proposed me.
Cheers

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by