MATLAB Runtime
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.
Functions
mcrinstaller | Display version and location information for MATLAB Runtime installer corresponding to current platform |
mcrversion | Return MATLAB Runtime version number that matches MATLAB version |
compiler.runtime.createDockerImage | Create a Docker image that contains MATLAB Runtime (Since R2023b) |
Topics
MATLAB Runtime
- About the MATLAB Runtime
See an overview of MATLAB Runtime. - Install and Configure MATLAB Runtime
Install, configure, and uninstall MATLAB Runtime. - Set MATLAB Runtime Path for Deployment
Define paths for machines where you want to run applications generated with MATLAB Compiler™ or MATLAB Compiler SDK™. - Share MATLAB Runtime Instances
Use a singleton MATLAB Runtime to share runtime instances.
C/C++ Shared Libraries
- MATLAB Runtime Component Cache and Deployable Archive Embedding
Override the default archive embedding behavior, and use MATLAB Runtime component cache. - Using MATLAB Runtime User Data Interface
Access MATLAB Runtime data.
.NET Assemblies
- MATLAB Runtime Run-Time Options
Specify run-time options to MATLAB Runtime. - MATLAB Runtime Component Cache and Deployable Archive Embedding
Override the default archive embedding behavior and use the MATLAB Runtime component cache.
Java Packages
- Dynamically Specify Options to MATLAB Runtime
Specify options such as -nojvm, -nodisplay, and -logfile to MATLAB Runtime. - Define Embedding and Extraction Options for Deployable Java Archive
Manage deployable archive embedding and extraction behavior using either the MWComponentOptions class or environment variables.
Python Packages
- Initialize MATLAB Runtime
Initialize MATLAB Runtime for use with Python® applications.
COM Components
- MATLAB Runtime Options for COM Components
When you roll out a COM component to end users, there are times when you should specify MATLAB Runtime options to create a log file or improve performance.
Parallel Computing Toolbox
- Use Parallel Computing Toolbox in Deployed Applications
Pass a cluster profile to an application that uses the Parallel Computing Toolbox™.