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?
0 个评论
回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File 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!