Main Content

MATLAB Runtime

Distribute applications that use compiled MATLAB® functions

MATLAB Runtime (MCR) is a standalone set of shared libraries, MATLAB code, and other files that enables the execution of compiled MATLAB code on systems without an installed version of MATLAB. Applications that include compiled MATLAB functions require access to MATLAB Runtime libraries.

To create an application installer that contains MATLAB Runtime, you must download the MATLAB Runtime installer that matches both the version and update level of MATLAB used to create the installer. To distribute a packaged MATLAB application without an installer, end users must download the MATLAB Runtime installer that matches the version of MATLAB used to compile the application, at the same update level or newer. For more information, see Install and Configure MATLAB Runtime.


mcrinstallerDisplay version and location information for MATLAB Runtime installer corresponding to current platform
mcrversionReturn MATLAB Runtime version number that matches MATLAB version
compiler.runtime.createDockerImageCreate a Docker image that contains MATLAB Runtime (Since R2023b)


MATLAB Runtime

C/C++ Shared Libraries

.NET Assemblies

Java Packages

Python Packages

COM Components

Parallel Computing Toolbox