How to simulate a Simulnk model by a standalone executable?
Ältere Kommentare anzeigen
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?
Antworten (1)
Kaustubha Govind
am 28 Nov. 2012
0 Stimmen
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.
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!