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.

Answers (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.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 29 May 2013

Community Treasure Hunt

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

Start Hunting!