MATLAB Runtime
MATLAB Runtime 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 Download and Install 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) |
compiler.runtime.customInstaller | Create a MATLAB Runtime installer for the specified files generated by MATLAB Compiler (Since R2024b) |
Topics
MATLAB Runtime
- About MATLAB Runtime
See an overview of MATLAB Runtime. - Download and Install 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™. - Deploy Applications and MATLAB Runtime on Network Drives
Run MATLAB Compiler generated applications from a network drive. - Share MATLAB Runtime Instances
Use a singleton MATLAB Runtime to share runtime instances. - MATLAB Runtime Component Cache and Deployable Archive Embedding
Specify the MATLAB Runtime component cache size and location.
C/C++ Shared Libraries
- Using MATLAB Runtime User Data Interface
Access MATLAB Runtime data.
.NET Assemblies
- MATLAB Runtime Run-Time Options
Specify run-time options to MATLAB Runtime.
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™.