Why is MATLAB Runtime so large?

54 views (last 30 days)
The monolithic MATLAB Runtime installation size seems to get bigger and bigger from release to release. Can I have a smaller sized runtime with just the components required by my application?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Mar 2021
Edited: MathWorks Support Team on 4 Mar 2021
Around Year 2014, the MATLAB Compiler was redesigned to allow a larger portion of MATLAB's features to be compiled. With more toolboxes and function are supported for deployment, the monolithic MATLAB Runtime installation size gets bigger and bigger from release to release. 
Starting from R2016a release, to distribute your application/Compiler SDK library with a subset of MATLAB Runtime that is needed for the application/library to run, you can generate an application/library installer with deploytool GUI or "compiler.package.installer" command. With this installer, the selective MATLAB Runtime will be installed together with the target standalone application or Compiler SDK library. When you generate the installer, MATLAB Runtime can be packaged either in the installer or downloaded from web.
MATLAB Runtime can also be installed with installer downloaded from 
 or with command "compiler.runtime.download". This installer will install the monolithic runtime and there is no way to configure selective installation.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!