How to simulate a Simulnk model by a standalone executable?
Afficher commentaires plus anciens
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?
Réponses (1)
Kaustubha Govind
le 28 Nov 2012
0 votes
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.
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!