Note
Use this procedure only for R2018b and later.
The optimal experience for installing an update is from within MATLAB® on a computer connected to the Internet. When that is not possible, however, administrators can perform an update to an existing MATLAB installation on any computer by downloading the update package.
Each update contains all the fixes from previous updates.
Update packages require an unzip utility that supports ZIP64.
Offline installations use a noninteractive command-line process.
You must have write privileges to matlabroot
(where
MATLAB is installed) to run the command in this process.
Download the update package to an online computer, and then install the package on the user's computer.
Go to the Downloads page on the MathWorks® website and select your release.
Under Related Links, click Get Update Package for Offline Installation.
Follow the instructions to download the update package to the user's computer or to a network share location. Make sure you download the package that matches the platform for the computer that requires the update.
Unzip the update package to a new folder, For example,
C:\temp\R2020b_Update1_Package
. Make sure the folder is accessible to
the user's computer.
On the user's computer, close all instances of MATLAB.
Install the update according to the instructions for your operating system. In the
command for each platform, argument package_folder
is the full
path to the directory where you unzipped the update package.
Windows® Systems
Go to a command prompt.
Change folder to:
matlabroot
\bin\win64
matlabroot
is the path to the MATLAB installation.
Run update_installer.exe
with the following command-line
arguments:
update_installer.exe -updatepackage package_folder
Linux®
Open a terminal.
Change folder to:
matlabroot
/bin/glnxa64
matlabroot
is the path to the MATLAB installation.
Run update_installer
with the following command-line
arguments:
./update_installer.sh -updatepackage package_folder
macOS
Open a terminal.
Change folder to:
matlabroot
/bin/maci64
matlabroot
is the path to the MATLAB installation.
Run update_installer
with the following command-line
arguments:
./update_installer -updatepackage package_folder
Installation status is not displayed in the terminal or at the command prompt. Instead,
you can find all status messages in the log at
\%TEMP%\mathworks_yourusername.log
(Windows) or /tmp/mathworks_yourusername.log
(Linux or macOS). Examine the log carefully for errors.