replace entire mdl file from app designer
2 views (last 30 days)
Show older comments
Bhisma Adhikari on 27 Jan 2020
Commented: Bhisma Adhikari on 31 Jan 2020
My Simulink project (saved as mymodel.mdl) is opened in the Simulink window. I need to replace mymodel.mdl's entire content with the content from some other mdl file when I click a button in an app designed in app-designer (saved as myapp.mlapp). How do I do this?
Ganesh Regoti on 31 Jan 2020
You can copy the contents from one Simulink model to another through appdesigner using subsystem commands. Here is the link you can refer to
Here is the small example to copy contents from one model to a subsystem of other model.
Hope this helps!
More Answers (0)
Find more on View and Analyze Simulation Results 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!