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

2 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Image Analyst
Image Analyst el 21 de Dic. de 2013
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 comentarios
phani kumar
phani kumar el 23 de Dic. de 2013
Editada: Image Analyst el 23 de Dic. de 2013
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 el 23 de Dic. de 2013
Editada: Image Analyst el 23 de Dic. de 2013
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by