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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by