Compiling for stand alone

14 Ansichten (letzte 30 Tage)
Jakob Sørensen
Jakob Sørensen am 10 Dez. 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.

Akzeptierte Antwort

Titus Edelhofer
Titus Edelhofer am 10 Dez. 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 Kommentare
Image Analyst
Image Analyst am 10 Dez. 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 am 11 Dez. 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

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!

Translated by