MATLAB Answers

How to discover all submodels within a simulink model programmatically ?

1 view (last 30 days)
p fontaine
p fontaine on 14 Jan 2021
Answered: Fangjun Jiang on 14 Jan 2021
I would like to find all models contained in a simulink model programmatically ?
Is there a way to do that for instance with the get_param(model_name, argument) function ?
There is a 'Parent' argument but no 'Children' argument for this function

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 14 Jan 2021
Using the example model 'f14'. Play with some other options of find_system()

More Answers (0)




Community Treasure Hunt

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

Start Hunting!