Standalone executable GUI calling Simulink
5 次查看(过去 30 天)
显示 更早的评论
Hi, I am attempting to make a standalone executable GUI which calls a Simulink model. I found an appropriate method listed on:
Using the above link, I am able to create the exe file but am unable to run it without MATLAB. Do I need to do any more things so as to run the executable on a system without MATLAB?
Thanks for your time.
Anubhav
7 个评论
Walter Roberson
2021-12-31
Checking further, you can call sim() from within MATLAB -- but you need to use the product "Simulink Compiler",
The post at https://www.mathworks.com/matlabcentral/answers/1605740-matlab-compiler-matlabruntimeforpython-dot-indexing-is-not-supported-for-variables-of-this-type hints that you would get a Simulink.standalone_sim error if you tried to use MATLAB Compiler.
回答(4 个)
Chirag Gupta
2011-9-28
You would need to install the MCR on machines without MATLAB (MCR: Matlab Runtime)
The MCR is avalable with the MATLAB Compiler product.
0 个评论
Palak
2011-11-20
hi, can you write some steps for making .exe file of simulink model? i use sim command in .m file to simulate simulink model and then make .exe file.but expected result is not coming. so,please write one example or some steps for making standalone file from simulink model.. i am using matlab r2010a-32 bit,windows-7 64 bit
thank you in advance.
1 个评论
Darin McCoy
2014-9-26
Here is a good answer to your question http://www.mathworks.com/matlabcentral/answers/97161-how-can-i-create-a-deployable-standalone-executable-from-a-matlab-application-that-calls-a-simulink
4 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!