how Can I Know that two Blocs were connected in the same subsystem?

2 views (last 30 days)
Hi
how Can I Know that two Blocs were connected in the same subsystem?
thanks
  1 Comment
Kaustubha Govind
Kaustubha Govind on 30 Apr 2013
Can you not just look at the full path to each block and see if they are under a common subsystem?

Sign in to comment.

Answers (1)

Babak
Babak on 26 Apr 2013
Use get_param to get the parameter of the two blocks. Find out the lines connected to the two blocks with get_param .
Then try to see if there is a common element in the two sets of lines you 've found above.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!