Where is the MATLAB Compiler Runtime (MCR) Installer located?

329 views (last 30 days)
I would like to install the MATLAB Compiler Runtime (MCR) for my client machine. Where is the MCR installer located?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Nov 2021
Edited: MathWorks Support Team on 17 Nov 2021
As of 2018a, the standalone MCRInstaller executable does not ship with the MATLAB Compiler™ product.
For R2018a and newer, you can run the following command to install MATLAB Compiler Runtime. The command will only work if you have MATLAB Compiler installed and activated.
>> compiler.runtime.download
If you have a working internet connection (and do not have a proxy or firewall) this will automatically start the download. If your machine is offline, it returns a message that contains the download URL to the correct installer version.
When you package a MATLAB function using the Application Compiler or Library Compiler apps and select the option Runtime included in package, you are prompted to download the MATLAB Runtime installer. Once you accept, the MATLAB Runtime installer is downloaded and packaged with the application.
(If you do not have internet access, you need to download the MATLAB Runtime installer from a computer that is connected to the Internet. After downloading the MATLAB Runtime installer, you will need to transfer the installer to the computer that is not connected to the Internet.)
As of R2012a, the MATLAB Compiler Runtime (MCR) can be retrieved from our website from the MATLAB Compiler page:
For releases R2017b and earlier, see below:
The MATLAB Compiler Runtime (MCR) installer must be retrieved from a computer that has MATLAB and MATLAB Compiler installed. The location of the MATLAB Compiler Runtime (MCR) installer depends on the operating system of the computer.  You can find the location of the MATLAB Compiler Runtime (MCR) installer by running the below in MATLAB:
>> mcrinstaller
Please see below for some example paths:
Mac OS X:
(where $MATLAB is the location of your MATLAB installation directory or installation media)
Colin Fraser
Colin Fraser on 10 Oct 2019
If you are still experiencing this issue, please contact MathWorks support:
-Colin Fraser

Sign in to comment.

More Answers (2)

KAE on 29 Mar 2018
If someone is instead wanting to know where Runtime is installed on their machine, for example to check what version is installed without using mcrversion since Matlab is not installed, runtime is installed in C:\Program Files\MATLAB\MATLAB Runtime\ and you can match up the two numbers (R2018a and 9.4, for example) associated with each release here .

Shinu John
Shinu John on 16 Oct 2018


No tags entered yet.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!