Update MathWorks Matlab Software on Offline Computer
(for Matlab version 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. 1. Go to the Downloads page on the MathWorks® website and select your release. 2. Under Related Links, click Get Update Package for Offline Installation. 3. 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. 4. 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. 5. On the user's computer, close all instances of MATLAB. 6. 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. o Windows® Systems a. Go to a command prompt. b. Change folder to: matlabroot\bin\win64 matlabroot is the path to the MATLAB installation. c. Run update_installer.exe with the following command-line arguments: update_installer.exe -updatepackage package_folder o Linux® a. Open a terminal. b. Change folder to: matlabroot/bin/glnxa64 matlabroot is the path to the MATLAB installation. c. Run update_installer with the following command-line arguments: ./update_installer.sh -updatepackage package_folder o macOS a. Open a terminal. b. Change folder to: matlabroot/bin/maci64 matlabroot is the path to the MATLAB installation. c. 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.