Convert bus creator in bus object

2 ビュー (過去 30 日間)
Gabriela
Gabriela 2014 年 4 月 16 日
回答済み: Niklas Nylén 2014 年 4 月 17 日
How can I convert/ create a bus object having a bus creator in the model. I have a huge bus creator in one model and I have to use signals from it inside another block which accept only bus object as input. Thank you in advance
  1 件のコメント
Chandrasekhar
Chandrasekhar 2014 年 4 月 17 日
can you attach the model if possible?

サインインしてコメントする。

回答 (1 件)

Niklas Nylén
Niklas Nylén 2014 年 4 月 17 日
Select the bus creator in simulink and run this command in the command window, as I answered on one of your previous question:
Simulink.Bus.createObject(gcs, gcb);

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by