Can i check the signals in a Bus ?

5 ビュー (過去 30 日間)
Omar Abdelkader
Omar Abdelkader 2018 年 11 月 22 日
回答済み: Mark McBroom 2018 年 11 月 23 日
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 Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by