Can i produce standalone window application from Matlab's script?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Walter Roberson
2011-9-21
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 个评论
topdawgnate
2011-9-21
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!