compiler.runtime.download - Download MATLAB Runtime installer - MATLAB (original) (raw)
Main Content
Download MATLAB Runtime installer
Syntax
Description
compiler.runtime.download
downloads the MATLAB® Runtime installer matching the version and update level of MATLAB from where the command is executed. If the installer has already been downloaded to the machine, it returns a message stating that the MATLAB Runtime installer exists and specifies its location. If the machine is offline, it returns a message that contains the download URL to the installer.
Examples
Download the MATLAB Runtime installer on Windows® using MATLAB R2025a.
compiler.runtime.download
Downloading MATLAB Runtime installer. It may take several minutes...
MATLAB Runtime installer has been downloaded to: "C:\Users__\AppData\Local\MathWorks\MatlabRuntimeCache\MCRInstaller25.1\MATLAB_Runtime_R2025a_win64.zip"
If you already have downloaded the latest version of theMATLAB Runtime installer, this command gives the following result on Windows using MATLAB R2025a:
compiler.runtime.download
An existing MATLAB Runtime installer was found at: "C:\Users__\AppData\Local\MathWorks\MatlabRuntimeCache\MCRInstaller25.1\MATLAB_Runtime_R2025a_win64.zip"
If you are not connected to the internet, this command displays a URL that you can open in a web browser to download the MATLAB Runtime installer. The URL corresponds to the version and update level of MATLAB, as indicated by_`<release>`_/Release/_`<updatelevel>`_
.
Using MATLABR2025a with no updates, display the download URL for MATLAB Runtime.
compiler.runtime.download
Downloading MATLAB Runtime installer. It may take several minutes...
Error using compiler.runtime.download A connection could not be established to download the Runtime Installer. Download the runtime from: https://ssd.mathworks.com/supportfiles/downloads/R2025a/Release/0/deployment_files/installer/complete/win64/MATLAB_Runtime_R2025a_win64.zip and update the runtime location in Compiler Settings.
Version History
Introduced in R2018a