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

7 ビュー (過去 30 日間)
andreadr
andreadr 2018 年 1 月 7 日
コメント済み: andreadr 2018 年 1 月 10 日
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 Center および File ExchangeIntroduction 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