Update MATLAB on Offline Computer
On permanently offline computers, you can install a more recent version of MATLAB® than the one installed on that computer. For example, if you have R2024a installed, you can download a more recent version of R2024a if one is available. This version is called a MATLAB update. When you install a MATLAB update, you get the most recent update for your release and all previous updates for that release.
Follow this general process to install a MATLAB update on an offline computer:
Download the update from a computer connected to the internet.
Copy the update to the offline computer.
Install the update from the system command line of the offline computer.
Prerequisites
You must be a license administrator.
The MATLAB release being updated must be R2018b or later.
The offline computer must have an unzip utility that supports ZIP64.
You must have write privileges to the folder where MATLAB is installed on the offline computer.
Download MATLAB Update
On a computer with an internet connection, download the package containing the MATLAB update.
On a computer connected to the internet, go to MathWorks Downloads.
From the I Want To menu, select
Get Updates
.Select the release and update you want to download.
Under Get Updates for MATLAB and Simulink Products click Get Update Package for Offline Installation. This link is visible only if you are signed in as a license administrator.
Select the platform of the offline computer (not the computer you are using to perform this download) and download the update package.
Copy MATLAB Update to Offline Computer
Copy the update package to the offline computer or to a shared network location.
On the offline computer, unzip the update package to a new folder. Sample folders include:
Windows® —
C:\temp\R2024a_Update1_Package
Linux® or macOS —
/tmp/R2024a_Update1_Package
This folder must be accessible from the offline computer.
Install MATLAB Update on Offline Computer
On the offline computer, install the MATLAB update using the unzipped package and the instructions specific to your operating system.
Note
Before installing the update, close any MATLAB sessions running on the offline computer.
Windows
Since R2023a
From the Windows command line, navigate to this folder:
cd
updatePackageFolder
\bin\arch
is the full path to the folder where you unzipped the update package.updatePackageFolder
is the Windows architecture folder, such asarch
win64
.
Run the update installer with the
destination
option. Specify the full path to the folder where MATLAB is installed on the offline computer,
. If the path contains spaces, enclosematlabInstallFolder
in double quotes.matlabInstallFolder
MathWorksUpdateInstaller.exe --destination
matlabInstallFolder
This sample command shows the default MATLAB installation path for the current release.
MathWorksUpdateInstaller.exe --destination "C:\Program Files\MATLAB\R2024a"
Before R2023a
From the Windows command line, navigate to this folder:
cd
matlabInstallFolder
/bin/arch
is the full path to the folder where MATLAB is installed on the offline computer. If the path contains spaces, enclosematlabInstallFolder
in double quotes.matlabInstallFolder
is the Windows architecture folder, such asarch
win64
.
Run the update installer with the
updatepackage
option. Specify the full path to the folder where you unzipped the update package,
.updatePackageFolder
update_installer.exe -updatepackage
updatePackageFolder
Linux
Since R2023a
From the Linux command line, navigate to this folder:
cd
updatePackageFolder
/bin/arch
is the full path to the folder where you unzipped the update package.updatePackageFolder
is the Linux architecture folder, such asarch
glnxa64
.
Run the update installer with the
destination
option. Specify the full path to the folder where MATLAB is installed on the offline computer,
.matlabInstallFolder
./MathWorksUpdateInstaller.sh --destination
matlabInstallFolder
This sample command shows the default MATLAB installation path for the current release.
./MathWorksUpdateInstaller.sh --destination /usr/local/R2024a
Before R2023a
From the Linux command line, navigate to this folder:
cd
matlabInstallFolder
/bin/arch
is the full path to the folder where MATLAB is installed on the offline computer.matlabInstallFolder
is the Linux architecture folder, such asarch
glnxa64
.
Run the update installer with the
updatepackage
option. Specify the full path to the folder where you unzipped the update package,
.updatePackageFolder
./update_installer.sh -updatepackage
updatePackageFolder
macOS
Since R2023a
From the macOS command line, navigate to this folder:
cd
updatePackageFolder
/bin/arch
is the full path to the folder where you unzipped the update package.updatePackageFolder
is the macOS architecture folder, such asarch
maci64
ormaca64
.
Run the update installer with the
destination
option. Specify the full path to the folder where MATLAB is installed on the offline computer,
.matlabInstallFolder
./MathWorksUpdateInstaller --destination
matlabInstallFolder
This sample command shows the default MATLAB installation path for the current release.
./MathWorksUpdateInstaller --destination /Applications/MATLAB/R2024a
Before R2023a
From the macOS command line, navigate to this folder:
cd
matlabInstallFolder
/bin/arch
is the full path to the folder where MATLAB is installed on the offline computer.matlabInstallFolder
is the macOS architecture folder, such asarch
maci64
.
Run the update installer with the
updatepackage
option. Specify the full path to the folder where you unzipped the update package,
.updatePackageFolder
./update_installer -updatepackage
updatePackageFolder
View Offline Update Log Files
During the installation and activation of MathWorks® products, the product installer creates a log file that you can use to obtain information on the installation processes.
The installation log file is named mathworks_%username%.log
and the
activation log file is named aws_%username%.log
. In both cases,
%username%
is the name of the person running the installer.
To locate your log files, see Where are the MATLAB Installation and Log Files Located?