Compiling for stand alone

3 次查看(过去 30 天)
I just started playing around with making Matlab programs with a GUI, but I can't figure out how to compile them so they work at computers without Matlab (if that is even possible?).
I'm using MATLAB R2011b on Windows 7, and I'm fairly new at making GUI's, compiling and stuff like that.

采纳的回答

Titus Edelhofer
Titus Edelhofer 2011-12-10
Hi,
you need to run the MCRInstaller on the computer without MATLAB, see documentation for "deploying standalone applications". It's in matlabroot\toolbox\compiler\deployment\win32(or64)
Titus
  5 个评论
Image Analyst
Image Analyst 2011-12-10
You could bundle both installers together with a regular install program and the user would see just one install program instead of two. The master install program would just install each individual installer one after the other so to the user it looks like just one installer. The reason I won't do that is because the MCR installer is huge (>400 MB) and needs to be installed just once while mine is small (3-7 MB) and I may need to install it many times as I make changes in response to user requests. I wouldn't want to install the MCR every time I made a small change to my program.
Titus Edelhofer
Titus Edelhofer 2011-12-11
Hi Jakob,
it's somewhat similar to deploying java programs or .NET programs. The only difference is, that the runtime environment for those are often pre-installed, whereas the MCR not.
Titus

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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!

Translated by