Main Content

MATLAB Runtime

Distribute applications that use compiled MATLAB® functions

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

Functions

mcrinstallerDisplay version and location information for MATLAB Runtime installer corresponding to current platform
mcrversionReturn MATLAB Runtime version number that matches MATLAB version

Topics

MATLAB Runtime

About the MATLAB Runtime

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

Information using 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 User Data Interface

Access MATLAB Runtime data using the MATLAB Runtime User Data interface API.

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.

MATLAB Runtime User Data Interface

Information on accessing MATLAB Runtime data using the MATLAB Runtime User Data Interface.

Define Embedding and Extraction Options for Deployable Java Archive

Manage deployable archive embedding and extraction behavior using either the MWComponentOptions class or environment variables.

Share MATLAB Runtime Instances

Information using a singleton MATLAB Runtime to share runtime instances

Supply Run-Time Profile Information for Parallel Computing Toolbox Applications

Example illustrating how to use MATLAB Runtime User Data Interface to specify profile information for Parallel Computing Toolbox™ applications.

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.

Initialize MATLAB Runtime

Initialize MATLAB Runtime for use with Python applications.

Parallel Computing Toolbox

Use Parallel Computing Toolbox in Deployed Applications

Procedure to pass a cluster profile to an application that uses the Parallel Computing Toolbox.