MATLAB Runtime R2022a Silent Install (How-To Guide)

The MATLAB Runtime is a standalone set of shared libraries that enables the execution of compiled MATLAB, Simulink applications, or components. When used together, MATLAB, MATLAB Compiler, Simulink Compiler, and the MATLAB Runtime enable you to create and distribute numerical applications, simulations, or software components quickly and securely. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of MATLAB Runtime R2022a from the command line using the EXE installer.

How to Install MATLAB Runtime R2022a Silently

MATLAB Runtime R2022a (9.12) Silent Install (EXE)

  1. Navigate to:
  2. Download the to a folder created at (C:\Downloads)
  3. Extract the with 7-Zip to “C:\Downloads\MATLAB_Runtime_R2022a_Update_2_win64”
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the “C:\Downloads\MATLAB_Runtime_R2022a_Update_2_win64” folder
  6. Enter the following command: setup.exe -mode silent -agreeToLicense yes
  7. Press Enter

After a few moments you will find MATLAB Runtime R2022a entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:MATLAB Runtime R2022a (9.12)
Installer Type:EXE
Silent Install Switch:setup.exe -mode silent -agreeToLicense yes
Silent Uninstall Switch:"%ProgramFiles%\MATLAB\MATLAB Runtime\v912\bin\win64\Uninstall_MATLAB_Runtime.exe" -mode silent
Download Link:
PowerShell Script:

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.

Additional Configurations

Create a MATLAB Runtime R2022a Installation Log File

The MATLAB Runtime R2022a installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.

MATLAB Runtime R2022a Silent Install (EXE) with Logging

setup.exe -mode silent -agreeToLicense yes -outputFile "C:\Windows\Temp\MATLAB_Runtime_R2022a.log"

Change the MATLAB Runtime R2022a Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing MATLAB Runtime R2022a to “C:\MATLAB\MATLAB Runtime\v912”

setup.exe -mode silent -agreeToLicense yes -destinationFolder "C:\MATLAB\MATLAB Runtime\v912"

How to Uninstall MATLAB Runtime R2022a Silently

Check out the MATLAB Runtime R2022 Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

MATLAB Runtime R2022a (9.12) Silent Uninstall (EXE)

"%ProgramFiles%\MATLAB\MATLAB Runtime\v912\bin\win64\Uninstall_MATLAB_Runtime.exe" -mode silent

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts