MATLAB Runtime Container
MATLAB® Runtime is a standalone set of shared libraries that enables the execution of compiled MATLAB applications or components on computers that do not have MATLAB installed. It's a way to distribute MATLAB code to other users, even if they don't have MATLAB installed themselves. The compiled applications and components are created using MATLAB Compiler™ and MATLAB Compiler SDK™.
You can download a MATLAB Runtime container from the MathWorks® container registry for use in your development environment. This may be particularly helpful in CI/CD pipelines where you can streamline integration by enabling quick pulls of the MATLAB Runtime container whenever needed. At present, when fetching a MATLAB Runtime image using Docker® on any system, the image retrieved is always based on Linux®.
Contents
MATLAB Runtime container includes:
Ubuntu® Linux base image.
MATLAB Runtime.
Dependencies to run MathWorks products.
Requirements
To use a MATLAB Runtime container, you need:
A host machine with Docker installed.
Quick Start Guide
To download a MATLAB Runtime container image, execute the following command at a system terminal:
docker pull containers.mathworks.com/matlab-runtime:releaseName
releaseName
refers to the specific version of
the MATLAB release. It is denoted with a lowercase r
followed by the year and edition of the release. For instance, if you want a
MATLAB Runtime container for the second edition of the 2023 release, you would
specify it as r2023b
.