How do I copy 2 .slx in 1 .slx ?
4 views (last 30 days)
Show older comments
Matheus on 20 Sep 2022
Answered: Fangjun Jiang on 20 Sep 2022
I need to bring 2 different models into a new single .slx. How can I do it using a script?
Fangjun Jiang on 20 Sep 2022
The best way is to use model reference. Add two "Model" blocks, each specified as reference to m1.slx and m2.slx
The other way is just to copy the contents.
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!