How to discover all submodels within a simulink model programmatically ?
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
p fontaine
il 14 Gen 2021
Risposto: Fangjun Jiang
il 14 Gen 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
2 Commenti
Fangjun Jiang
il 14 Gen 2021
Modificato: Fangjun Jiang
il 14 Gen 2021
define "submodels". Model references, subsystems or something else? "parent" refers to parent subsystem
Risposta accettata
Fangjun Jiang
il 14 Gen 2021
Using the example model 'f14'. Play with some other options of find_system()
f14;
SubSysBlocks=find_system('f14','BlockType','SubSystem')
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!