필터 지우기
필터 지우기

How to package MCR with compiled program?

조회 수: 2 (최근 30일)
Kevin
Kevin 2014년 8월 1일
답변: Image Analyst 2014년 8월 2일
I've recently compiled a MATLAB program for distribution. I'd selected "Runtime downloaded from web". I know the .exe is located in "for_redistribution_files_only", but it does not seem to install MCR 8.3 for the end user. Do I need to direct my end users to the Mathworks website to download MCR, or is there a way to package it in the .exe?

답변 (2개)

Adam
Adam 2014년 8월 1일
You need the installer, rather than the .exe. I think this is located in the 'for_redistribution' folder instead.
  댓글 수: 2
Kevin
Kevin 2014년 8월 1일
When I click on "MyAppInstaller_web", it reads: " There are no products available to install from this location. You may need to download the appropriate products from our web-site (www.mathworks.com)."
Is this what is supposed to happen when I select "Download runtime from web"? I figured it would automatically start downloading from the internet.
Adam
Adam 2014년 8월 1일
I'm not sure what that message means. When I try it I already have the runtime installed so it tells me that and I can't test what happens if I don't have it installed (I don't want to uninstall it).
You can package the MCR into the installer though if you tick the "Runtime included in package" option instead of "Runtime downloaded from web".

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2014년 8월 2일
I recommend you ship the MCRinstaller.exe and your app separately. The MCRInstaller is huge, like >500+ MB, while your app is probably less than 10 MB or so. If you ship upgrades (minor tweaks, bug fixes, etc.) why ship the whole huge MCR with it when they've already installed it once. All they need to do is install your app, not the MCR again, so why ship it?

카테고리

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