How to simulate a Simulnk model by a standalone executable?
古いコメントを表示
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?
回答 (1 件)
Kaustubha Govind
2012 年 11 月 28 日
0 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Simulink Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!