Standalone Application runs Simulink Model
Mostrar comentarios más antiguos
Hello guys,
I'm building a GUI which runs a Simulink Model.It works perfectly, until i try to compile it in a standalone application.
I put the gui .m file as main application in the deploy tool, and the simulink model (.slx) in files required. Everything is ok in the compilation, and the GUI works well. But when i want to run my simulation, nothing happens...
How can i do that?
Thanks for your help
HM
Respuestas (1)
Co Melissant
el 20 de Abr. de 2017
Editada: Co Melissant
el 20 de Abr. de 2017
0 votos
In general the API functions of Simulink do not work with the MATLAB Compiler, see: https://nl.mathworks.com/help/compiler/unsupported-functions.html
Possible approaches are generating an executable or dll from the model and interact with that.
We have used several approaches over time to interact with a model from a stand-alone GUI.
Co
4 comentarios
mickael hamelin
el 20 de Abr. de 2017
Editada: mickael hamelin
el 20 de Abr. de 2017
Co Melissant
el 20 de Abr. de 2017
Are you aware of the RSIM target?
mickael hamelin
el 20 de Abr. de 2017
Tobias Köhler
el 5 de Jun. de 2018
The rsim target doesn`t work too. Is it also unsupported for MatLab Compiler?
Categorías
Más información sobre Accelerated Simulation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!