Calling a Simulink-Modell by Button Click
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jay Samin
il 11 Ago 2016
Commentato: Jay Samin
il 12 Ago 2016
Hi everyone,
i programmed a Gui in Matlab and i would like to call a Simulink-Model through button click. has someone an idea how I can do it ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155645/image.png)
I appreciate any help Jay
0 Commenti
Risposta accettata
Fangjun Jiang
il 12 Ago 2016
What do you mean "call a Simulink-Model", open it and run simulation? You can put some code similar to below in the callback function of your button click.
open_system('ModelName'); sim('ModelName');
For info on other Simulink related functions, type "help simulink"
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Functions in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!