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 个评论

Can you not just look at the full path to each block and see if they are under a common subsystem?

请先登录,再进行评论。

回答(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.

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by