Convert bus creator in bus object

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개)

Niklas Nylén
Niklas Nylén 2014년 4월 17일

0 개 추천

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);

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

질문:

2014년 4월 16일

답변:

2014년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by