Creating an executable from a Matlab App that calls a Simulink file
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sam136
el 5 de Nov. de 2020
Respondida: Walter Roberson
el 5 de Nov. de 2020
I am trying to create a standalone executable from a Matlab app using Application compiler. This app calls a Simulink/Simscape model by "sim" command. The packaging process was completed successfully without any error and the executable file runs fine too. Although, it seems that the portion of the code that calls the Simulink model doesn't work at all. There is no error but nothing happens either. I am wondering if this is related to the licensing or not? I do have the licenses for Matlab/Simulink/Simscape, Matlab Coder, Matlab Compiler, and Simulink Coder. Do I need Simulink Compiler too?
0 comentarios
Respuesta aceptada
Walter Roberson
el 5 de Nov. de 2020
You need R2020a or later and Simulink Compiler; see https://www.mathworks.com/matlabcentral/answers/97161-how-can-i-create-a-deployable-standalone-executable-from-a-matlab-application-that-calls-a-simulink#answer_106511
0 comentarios
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!