get all subblock names from a given system

is there a way to get all the block names from a simulink system, even if the blocks are nested in subsystems.

回答(1 个)

find_system does traverse through the entire model. Search Depth parameter could be of interest to you to search until a specific hierarchy in the subsystem levels.

类别

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

产品

提问:

2013-5-29

Community Treasure Hunt

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

Start Hunting!

Translated by