How can I reduce the size of standalone application (web) installer?
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Manan Mishra
on 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.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!