Why can’t I download an executable for MATLAB Compiler Runtime version 9.6 (R2019a)?
MATLAB: Can’t I download an executable for MATLAB Compiler Runtime version 9.6 (R2019a)
MATLAB Compiler
Related Solutions
The MATLAB Compiler Runtime (MCR) enables you to run applications compiled within MATLAB using MATLAB Compiler. MCR does not require a MATLAB license and can be used to run the MATLAB compiled program on computers which do not have MATLAB installed.
For R2018a and newer, you can run the following command to install MATLAB Compiler Runtime. This command will only work if you have MATLAB Compiler installed and activated, have a working internet connection, and do not have a proxy or firewall.
>> compiler.runtime.download
(Note: Starting from R2019a, if you have updated your MATLAB software, the compiler.runtime.download function will download the MATLAB Runtime installer that corresponds to the update level of your MATLAB software.)
Or, to obtain an URL which you can then open in a web browser to download the correct version:
>> com.mathworks.toolbox.compiler.MatlabRuntimeUtils.getMCRInstallerDownloadURL()
Installers for the current versions of MATLAB Compiler Runtime can also be found on our website at:
These installers can be used offline, as the download contains all the files needed for a complete MATLAB Compiler Runtime installation. For releases before R2019a, runtime installers for General Releases will be downloaded. For releases starting from R2019a, runtime installers for the latest update level will be downloaded.
Running a MATLAB Runtime installer that is tied to a software update will remove any existing installation of the runtime for that release and install the MATLAB Runtime at the installer's update level. MATLAB Runtime installations from other releases will remain untouched.
It is possible to run applications with a MATLAB Runtime update level which is newer than the MATLAB release used to build the application. However, when creating "Runtime included in package" installers, the MATLAB Runtime version and update level needs to exactly match the MATLAB Compiler version and update level that was used to compile the application.
If you need to install an older version of MATLAB Compiler Runtime, please see the following article:
How do you install older versions of MCR which are not available online?
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:
Windows:
$MATLAB\toolbox\compiler\deploy\win32|64\MCRInstaller.exe
Mac OS X:
$MATLAB/toolbox/compiler/deploy/maci32|64/MCRInstaller.zip
Unix/Linux:
$MATLAB/toolbox/compiler/deploy/glnx86|a64/MCRInstaller.bin
(where $MATLAB is the location of your MATLAB installation directory or installation media)
As of 2018a, the standalone MCRInstaller executable does not ship with the MATLAB Compiler™ product.
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.
Best Answer