MATLAB Answers

How do I install a MATLAB update silently or non-interactively?

102 views (last 30 days)
How do I install a MATLAB update silently or non-interactively?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Dec 2019
Edited: MathWorks Support Team on 6 Dec 2019
It is possible to install updates for MATLAB from a command-line environment. The process requires that the computer in which you hope to install updates into already has MATLAB installed, and that the MATLAB update installer be downloaded on the machine you wish to perform the update on. Also note; before running the update installer on any machine, you need to ensure that there are no sessions of MATLAB running on the machine in question.
R2018b and later
As of R2018b the offline update installation workflow runs silently by default, and you can find instructions on this process in the article below.
Install Update Release on Offline Machine
R2018a and earlier
Windows
Run the installer from a system prompt with the /S flag (indicating that the installation will be silent), providing the MATLAB root directory. For example:
start /wait R2018a _ Update _ # /S /D=C:\Program Files\MATLAB\R2018a
(replace # with the Update number you are installing)
If the Update is already installed, the operation will still run, but no changes will be made.
Mac
Invoke the PKG from a terminal shell using proper privileges. For example, for the default installation location of /Applications, the command would be:
sudo installer -dumplog -pkg /Users/<username>/Downloads/MATLAB_R2018a_Update_#.pkg -target
(replace # with the Update number you are installing)
If the Update is already installed, the operation will still run, but no changes will be made
  • Linux: *
1. In a terminal window, navigate to the folder where you saved the downloaded installer. Start the installer by entering the command:
./R2018a_Update_#_glnxa64.sh
(replace # with the Update number you are installing)
2. When prompted, type the path to the installation directory, or just hit Enter to specify the default (shown on the screen when it asks for the directory).
3. When the installation is complete, the installer will display:
=============== UPDATE INSTALLATION SUCCEEDED ===============

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

No tags entered yet.

Products


Release

R2018a