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

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

Accedi per commentare.

Risposte (1)

Babak
Babak il 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.

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by