Can i produce standalone window application from Matlab's script?
1 view (last 30 days)
Show older comments
Hi,
I would like to know if i could produce a standalone window application (.EXE) from a Matlab's script (and also MATLAB GUI) ? If yes, how do i do it?
Thank you.
Regards Michael
0 Comments
Answers (2)
Walter Roberson
on 21 Sep 2011
I believe that in order to convert a MATLAB "script" file to a standalone executable, you need to be using MATLAB 2010b or later. The same restriction does not apply to MATLAB function files. A MATLAB GUI is, for this purpose, a MATLAB function file.
You need the (optional) MATLAB Compiler to do this compilation.
Reference note: the MATLAB Compiler cannot be used with the Student Version.
0 Comments
topdawgnate
on 21 Sep 2011
I recommend using the "deploytool" function http://www.mathworks.com/help/toolbox/compiler/deploytool.html
With this tool, you can add all the dependents (.m, .fig, etc) and it will create the .exe file. One caveat to this, you will need to install the MCRInstaller on any target computer not running Matlab (or the same version of Matlab).
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!