Standalone executable GUI calling Simulink
이전 댓글 표시
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
jany basha
2014년 1월 24일
hey. i am also having same problem with creating 'Standalone executable GUI calling Simulink' did you solved it ,can you please reply me how to create it in step by step comments please
thank you
mohammadreza j
2021년 12월 30일
hello
whats the solution?
Walter Roberson
2021년 12월 30일
You would need the relatively new Simulink Compiler product (R2020a and newer)
mohammadreza j
2021년 12월 30일
i have R2020a but i still have the problem calling simulink model from standalone gui
i use sim() to call simulink model, it works fine in matlab but it doesnt work as .exe. what should i do?

Walter Roberson
2021년 12월 30일
You cannot call sim() from an executable if I understand correctly...though I have not read the documents for Simulink Compiler.
mohammadreza j
2021년 12월 31일
so what i suppose to use, do you know?
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일
0 개 추천
You would need to install the MCR on machines without MATLAB (MCR: Matlab Runtime)
The MCR is avalable with the MATLAB Compiler product.
ANUBHAV SINHA
2011년 9월 28일
0 개 추천
댓글 수: 2
Chirag Gupta
2011년 9월 28일
Yes! MCR can be packaged with deploytool
ANUBHAV SINHA
2011년 9월 29일
Palak
2011년 11월 20일
0 개 추천
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
mohammadreza j
2021년 12월 30일
hello
i am looking for the solution, can you help me please?
thanks
Darin McCoy
2014년 9월 26일
0 개 추천
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
Darin McCoy
2014년 9월 26일
....now the link doesn't work??? that's pretty fishy..
Andreas Goser
2015년 3월 9일
Jan
2018년 7월 8일
Kaixiang Wang wrote:
What does he even mean??? Useless comment.
mohammadreza j
2021년 12월 30일
hello
whats the solution?
카테고리
도움말 센터 및 File Exchange에서 Using MATLAB Projects in Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!