How can I determine where or if a bus is used in a simulink model?

22 ビュー (過去 30 日間)
John Petersen
John Petersen 2021 年 4 月 16 日
コメント済み: Favian Estrada 2021 年 9 月 28 日
I have a complex simulink model that has dozens of busses defined. Some busses are identical but with different names. I have found others that I think are unused. I want to delete any unused busses to help simplify it. How do I find out where and if they are being used? I have tried "find" in the modeling tab, but that doesn't seem to work, at least nothing happens when I press it.

回答 (1 件)

Nagasai Bharat
Nagasai Bharat 2021 年 4 月 19 日
Hi,
From my understanding you are trying to minimize the number of busses/signals in your model which are being unused. One solution to that is logging the values of these busses and discard the ones which are not defined.
The following links should help you achive that.
  2 件のコメント
John Petersen
John Petersen 2021 年 4 月 19 日
編集済み: John Petersen 2021 年 4 月 19 日
All of the buses that exist in a buses folder are setup automatically, so they all are defined. I'm trying to determine where/if they are used. Logging all the buses seems like a lot of work. I was hoping for something simpler, like a search. There are probably around 75 buses.
Favian Estrada
Favian Estrada 2021 年 9 月 28 日
I've ran into the same problem.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComposite Interfaces についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by