Can i produce standalone window application from Matlab's script?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Walter Roberson
am 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 Kommentare
topdawgnate
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!