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

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

1 Comment

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)

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.

Products

Asked:

on 26 Apr 2013

Community Treasure Hunt

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

Start Hunting!