MATLAB Runtime
MATLAB Runtime is a collection of shared libraries, MATLAB code, and other files that enables the execution of compiled and packaged MATLAB applications on systems without an installed version of MATLAB. End users who want to run these applications without MATLAB must install MATLAB Runtime or specify the location of a MATLAB Runtime network installation.
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.download | Download MATLAB Runtime installer |
compiler.runtime.customInstaller | Create a MATLAB Runtime installer for the specified files generated by MATLAB Compiler (Since R2024b) |
compiler.runtime.createDockerImage | Create a Docker image that contains MATLAB Runtime (Since R2023b) |
compiler.runtime.createInstallerDockerImage | Create a MATLAB Runtime installer Docker image on offline machines (Since R2022b) |
Topics
Overview
- About MATLAB Runtime
Run deployed MATLAB applications using the freely-available MATLAB Runtime.
Installation
- Download and Install MATLAB Runtime
Install, configure, and uninstall MATLAB Runtime. - Set MATLAB Runtime Library Paths for Deployment
Learn how to properly configure system library paths on Windows®, Linux®, and macOS systems to enable applications built with MATLAB Compiler™ or MATLAB Compiler SDK™ to locate and use the required MATLAB Runtime libraries. - Reduce MATLAB Runtime Size
Decrease the installation footprint of MATLAB Runtime using custom installers or containers. - MATLAB Runtime Containers
Learn how to get a MATLAB Runtime container image for use in CI/CD workflows. - Deploy Applications and MATLAB Runtime on Network Drives
Run MATLAB Compiler generated applications from a network drive.
Customization
- Use Java Runtime Environment (JRE) with MATLAB Runtime
Configure MATLAB Runtime to use a supported version of Java®. - MATLAB Runtime Startup Options
Set MATLAB Runtime options, such as-nojvm,-nodisplay, or-logfile. - Using MATLAB Runtime User Data Interface
Access MATLAB Runtime data. - MATLAB Runtime Component Cache and Deployable Archive Embedding
Specify the MATLAB Runtime component cache size and location.
Testing
- Set MATLAB Library Paths for Testing Deployed Applications
Use libraries from an existing MATLAB installation for testing without requiring a separate MATLAB Runtime installation.