How can I reduce the size of standalone application (web) installer?

14 Ansichten (letzte 30 Tage)
andreadr
andreadr am 7 Jan. 2018
Kommentiert: andreadr am 10 Jan. 2018
I'm developing a standalone application to be distributed in the future.
I understand that the distribution of the application requires the installation of MATLAB Runtime, but even by choosing to install it via web, the size of my installer is of the order of 100MB.
What could be the reason of this size? Can I do something to reduce it?

Antworten (1)

Manan Mishra
Manan Mishra am 10 Jan. 2018
The MATLAB Compiler is designed to allow a large portion of MATLAB's features to be compiled. In order to achieve this, the run-time libraries are large.
Currently, there is no option to distribute your application with any subset of the files that are installed by the MCRInstaller. This enables all applications created with a particular version of MATLAB Compiler to use the same installation of the MCR regardless of whether they use the same subset of MATLAB commands.
Hence, there is no way to reduce the size of MCR installation. The MATLAB runtime architecture requires all the files included.
  1 Kommentar
andreadr
andreadr am 10 Jan. 2018
Thanks for the reply. As I stated in the post, I know about the necessity to install MCR libraries as well. However, I will distribute the application with the option to let the user install MCR via web. Hence MCR will not be included in the distributed application installer.
Still, my installer has a size of about 100MB. From this, my request of info about what might cause this size (if it is, as I guess, quite large) and possibly how to reduce it.
Can you help me with this issue?

Melden Sie sich an, um zu kommentieren.

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