I need to find the destinations of a particular signal on a bus, I've downloaded myTraceSignal from FileExchange but still need help.

I have a large model, in one of the blocks is a CreateBus with 100 signals. I only want to trace the destinations of where "Signal-25" gets used, highlighted path(s) in ModelBrowser would be ideal solution. Thanks for any assistance.

 採用された回答

This should be a good place to start:
l1 = find_system(bdroot , 'FindAll' , 'on' , 'type' , 'line' , 'Name' , '<my_line_name>');
hilite_system(l1);

1 件のコメント

Doug Bell
Doug Bell 2015 年 6 月 24 日
Great help! I needed to add the FollowLinks & LookUnderMasks options, as well as discover that Drew literally meant to include "<" and ">" symbols around line name since that coming off bus at destination blocks, will have these characters around the line name.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Prepare Model Inputs and Outputs についてさらに検索

質問済み:

2015 年 6 月 23 日

コメント済み:

2015 年 6 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by