Compiling for stand alone

조회 수: 1 (최근 30일)
Jakob Sørensen
Jakob Sørensen 2011년 12월 10일
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