How to simulate a Simulnk model by a standalone executable?
Mostra commenti meno recenti
I have to create a standalone of .m file which simulates a Simulink model and generate a result.xls
I am able to create the standalone for the .m file but the executable could not read the Simulink model.
How can I solve this issue?
Risposte (1)
Kaustubha Govind
il 28 Nov 2012
0 voti
See this previous answer about why you are unable to run a Simulink model from a MATLAB Compiler generated executable. You need to generate an .exe from the Simulink model using Simulink Coder and then use that in your MATLAB code. Essentially, make your MATLAB code independent of Simulink.
Categorie
Scopri di più su Simulink Coder in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!