Can i check the signals in a Bus ?

1 次查看(过去 30 天)
I need to check if a specific signal is in the bus or not ?

采纳的回答

Mark McBroom
Mark McBroom 2018-11-23
One approach would be to create a bus object from the bus creator in your model that creates the bus using the function Simulink.Bus.createObject. You could then write a MATLAB function that looks to see if any of the bus elements match your specific signal name/type/size.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by