Download MATLAB Runtime installer
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
Download MATLAB Runtime Installer
Download the MATLAB Runtime installer on Windows® using MATLAB R2022a.
Downloading MATLAB Runtime installer. It may take several minutes... MATLAB Runtime installer has been downloaded to: "C:\Users\username\AppData\Local\Temp\username\MCRInstaller9.12\MATLAB_Runtime_R2022a_win64.zip"
Display Location of MATLAB Runtime Installer
If you already have downloaded the latest version of the MATLAB Runtime installer, this command gives the following result on Windows using MATLAB R2022a:
An existing MATLAB Runtime installer was found at: "C:\Users\username\AppData\Local\Temp\username\MCRInstaller9.12\MATLAB_Runtime_R2022a_win64.zip"
Display MATLAB Runtime Installer Download URL
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
Using MATLAB R2022a with no updates, display the download URL for MATLAB Runtime.
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/R2022a/Release/0/deployment_files/installer/complete/win64/MATLAB_Runtime_R2022a_win64.zip and update the runtime location in Compiler Settings.