Calling a Simulink-Modell by Button Click
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Jay Samin
el 11 de Ag. de 2016
Comentada: Jay Samin
el 12 de Ag. de 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 comentarios
Respuesta aceptada
Fangjun Jiang
el 12 de Ag. de 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"
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!