Hi Juergen Bohn,
I understand that you are looking for a way to execute MATLAB updates from the command line in silent mode, without user interaction.
This is indeed useful for maintaining multiple MATLAB installations across different machines.
To accomplish this, you may consider using the following approach:
- Download the “Update Installer” by navigating to the MathWorks website and download the required update (e.g., R2018a_Update_6.exe).
- Now, to execute the update in silent mode, run the installer using the following command:
R2018a_Update_6.exe -mode silent -agreeToLicense yes
This ensures the update runs without requiring any user input.
- Additionally, in case you wish to do batch update for multiple installations, you can create a batch script (“update_all.bat”) to automate the update process. Kindly refer to the following batch script for your reference:
"C:\Path\to\%%V_Update.exe" -mode silent -agreeToLicense yes
This script will loop through different MATLAB versions and apply the updates automatically.
- To verify updates after installation, check the MATLAB version by running:
This will confirm that the update has been successfully installed.
For further reference on MATLAB silent installations, kindly refer to the official documentation: