MATLAB Answers

Standalone executable GUI calling Simulink

19 views (last 30 days)
ANUBHAV SINHA
ANUBHAV SINHA on 28 Sep 2011
Commented: Jan on 8 Jul 2018
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

  1 Comment

jany basha
jany basha on 24 Jan 2014
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

Sign in to comment.

Answers (4)

Chirag Gupta
Chirag Gupta on 28 Sep 2011
You would need to install the MCR on machines without MATLAB (MCR: Matlab Runtime)
The MCR is avalable with the MATLAB Compiler product.

  0 Comments

Sign in to comment.


ANUBHAV SINHA
ANUBHAV SINHA on 28 Sep 2011
Thanks for your answer. So can I package the MCR by using deploytool just as I package it for the m-file based GUIs?
Anubhav

  2 Comments

Chirag Gupta
Chirag Gupta on 28 Sep 2011
Yes! MCR can be packaged with deploytool
ANUBHAV SINHA
ANUBHAV SINHA on 29 Sep 2011
I just now tried doing it through the deploytool but it is not working. Please note that in the link I posted above, the GUI is calling a calling a Simulink exe (and not an mfile). http://www.mathworks.com/support/solutions/en/data/1-27DUK5/
Finally, when I use deploytool--->set the GUI mfile as the main function---> but all ctf, exe,mdl etc files in the Other Files tab---> put all C files in 'C Files tab'---> then on Build, the generated exe doesnt work even while testing( and ofcourse doesnt work after packaging too)!!

Sign in to comment.


Palak
Palak on 20 Nov 2011
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.

  0 Comments

Sign in to comment.


Darin McCoy
Darin McCoy on 26 Sep 2014

  3 Comments

Darin McCoy
Darin McCoy on 26 Sep 2014
....now the link doesn't work??? that's pretty fishy..
Jan
Jan on 8 Jul 2018
Kaixiang Wang wrote:
What does he even mean??? Useless comment.

Sign in to comment.

Sign in to answer this question.