Compiling for stand alone

3 views (last 30 days)
Jakob Sørensen
Jakob Sørensen on 10 Dec 2011
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.

Accepted Answer

Titus Edelhofer
Titus Edelhofer on 10 Dec 2011
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 Comments
Image Analyst
Image Analyst on 10 Dec 2011
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 on 11 Dec 2011
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

Sign in to comment.

More Answers (0)

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!