Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Drew Davis
Drew Davis am 24 Jun. 2015
This should be a good place to start:
l1 = find_system(bdroot , 'FindAll' , 'on' , 'type' , 'line' , 'Name' , '<my_line_name>');
hilite_system(l1);
  1 Kommentar
Doug Bell
Doug Bell am 24 Jun. 2015
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by