Update subsystem's Block parameters for all the subsytems in a model.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Neal Chaudhuri
il 6 Mag 2022
Commentato: Neal Chaudhuri
il 10 Mag 2022
There are more than a few subsystems in my model, and I would to check "treat as Atomic model" in block parameters for all of them, at once.
0 Commenti
Risposta accettata
Fangjun Jiang
il 6 Mag 2022
h=find_system('ModelName','FindAll','on','BlockType','SubSystem')
set(h,'TreatAsAtomicUnit','On')
You might need to refine your search to avoid unintended SubSystem blocks.
3 Commenti
Fangjun Jiang
il 9 Mag 2022
If doing it interactively in Simulink GUI, it can only be done one subsystem block at a time.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Naming Conventions 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!