Compiling for stand alone

2 visualizzazioni (ultimi 30 giorni)
Jakob Sørensen
Jakob Sørensen il 10 Dic 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.

Risposta accettata

Titus Edelhofer
Titus Edelhofer il 10 Dic 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 Commenti
Image Analyst
Image Analyst il 10 Dic 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 il 11 Dic 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by