Creating an executable from a Matlab App that calls a Simulink file
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sam136
il 5 Nov 2020
Risposto: Walter Roberson
il 5 Nov 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 Commenti
Risposta accettata
Walter Roberson
il 5 Nov 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 Commenti
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!