From: timo on
I have a system with multiple subsystems...(.MDL files) what can I do to create a list of names of all its subsystems??
From: Jason Retik on
Please try the following:

>>find_system(modelName, 'BlockType', 'SubSystem')

This will give you a cell array of all subsystems in a model. If you are
looking for all the models in a model reference hierarchy, try the
following:

>>find_mdlrefs(modelName);

Jason Retik


"timo " <animempeg(a)yahoo.com> wrote in message
news:hlepb4$3gi$1(a)fred.mathworks.com...
>I have a system with multiple subsystems...(.MDL files) what can I do to
>create a list of names of all its subsystems??