Update subsystem's Block parameters for all the subsytems in a model.
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Fangjun Jiang
on 6 May 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.
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!