Performance Considerations and MATLAB Runtime
Since MATLAB® Runtime provides full support for the MATLAB language, including the Java® programming language, starting a compiled application takes approximately the same amount of time as starting MATLAB. The amount of resources consumed by the MATLAB Runtime is necessary in order to retain the power and functionality of a full version of MATLAB.
MATLAB Compiler SDK™ was designed to work with a large range of applications that use the MATLAB programming language. Because of this, run-time libraries are large.
Calls into the MATLAB Runtime are serialized so calls into the MATLAB Runtime are threadsafe. This can impact performance.