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

5 次查看(过去 30 天)
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?

回答(1 个)

Manan Mishra
Manan Mishra 2018-1-10
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 个评论
andreadr
andreadr 2018-1-10
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?

请先登录,再进行评论。

类别

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