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 个评论
Chandrasekhar
2014-4-17
can you attach the model if possible?
回答(1 个)
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);
类别
在 帮助中心 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!