How to Create an executable file for Simulink model?
3 ビュー (過去 30 日間)
古いコメントを表示
I have a GUI which get 2 inputs from user and provide that to simulink model. Model will add that two input and give an output to GUI via CMex S Fcn. I tried to create a standalone "exe" file fot that. It is created, but when I try to open that my ".exe" is not working because I have used some simulink commands such as 'load_system' and 'set_param'. Is there any replacement for that?
Please provide me some ways to create single ".exe" file for above mentioned.
(the fucvtionality expectation is an example. Matter is to create exe which includes '*.m', '*.mdl', '*.fig' )
0 件のコメント
採用された回答
Friedrich
2014 年 1 月 15 日
HI,
2 件のコメント
fayçal ahmed zaid
2016 年 8 月 11 日
編集済み: fayçal ahmed zaid
2016 年 8 月 11 日
Hi all,
The link for the exemple is no longer working. Could you provide me another ? I have the same issue ...
Thanks
その他の回答 (1 件)
Azzi Abdelmalek
2014 年 1 月 15 日
You can generate a c code for your simulink model, but you will need a simulink coder
2 件のコメント
Dzung
2014 年 9 月 9 日
Hi Azzi, I've generated C code from simulink model by the coder, but when I'm compiling it under VC2010, I've got error LNK2019 "unresolved external symbol". I guess that I've missed some lib files but not know which one. Can you show me how to find the appropriate lib files?
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!