is it possible to include selected toolboxes while deploying a standalone app which requires less size installation of MCR on target system

조회 수: 2 (최근 30일)
as the MCR size is greater than 340MB it is hard to download the matlab runtime over some metered networks. I build a windows standalone application using MATLAB R2012b which is about 20MB in size but the size of MCR limits me to share and package a windows installer with it.so please suggest me how to decrease size of MCR.Is there any MATLAB runtimes for dedicated toolboxes for deploying?

채택된 답변

Image Analyst
Image Analyst 2013년 12월 21일
I'm pretty sure the answer is no. You have to install the whole MCR regardless if you're only using a single function from it.
  댓글 수: 4
phani kumar
phani kumar 2013년 12월 23일
편집: Image Analyst 2013년 12월 23일
I checked twice .I uninstalled MCR but not MATLAB .
you too experience this just follow this
1) type and execute "deploytool" from command window.
2) create any Windows Stand alone app
3) include source files.
4) click on settings and untick the "embed CTF archive into application" and then build application.
5) after building start the application you can observe "appname_mcr" folder is copied in path by MCR if you done fourth step fine.
6) now uninstall the MCR but not MATLAB of corresponding version.
7) now restart the app you can observe that application is still working even after uninstallation of MCR.
Image Analyst
Image Analyst 2013년 12월 23일
편집: Image Analyst 2013년 12월 23일
You say "uninstalled MCR but not MATLAB." - well there's the key. If you have MATLAB, you do not need the MCR. I was referring to a completely new and fresh computer where neither MATLAB nor MCR is installed. When I asked " Or maybe you're running it on your development computer instead of a clean system." I meant a computer where you have the full blown MATLAB development installed on it. I know that you can run it with MATLAB but not the MCR as that sentence implies. I thought you were installing on computers without any MATLAB on them . Since you are not, and you are in fact installing on computers with MATLAB installed on them already, why not just run the m-file?
But anyway, since you have MATLAB installed, the answer to your original question is : you do not need to deploy MCR to run executables with the full MATLAB environment already installed on them.

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

추가 답변 (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