Transition Existing Installations to Campus-Wide License
Follow these instructions to transition MATLAB® product installations configured for previous licenses (Individual, Designated Computer, Concurrent, or Network Named User) to use the Campus-Wide License. You can also use these instructions to update older Campus-Wide License configurations and migrate your users to the latest release of MATLAB.
To transition existing MATLAB installations, you can either reinstall MATLAB on each machine or update MATLAB without reinstalling.
Reinstall MATLAB
The simplest way to transition an existing installation to the Campus-Wide License is to uninstall and then reinstall MATLAB.
To reinstall MATLAB on multiple computers with the same configuration, complete the following steps:
Uninstall all releases of MATLAB that are linked to other licenses. See Uninstall MATLAB.
(Concurrent and Network Named User licenses only) Uninstall the network license manager if one is in use. See Uninstall Network License Manager.
Install the latest release of MATLAB on each computer using a silent, command-line installer by following the instructions in Install Products Programmatically.
To get the file installation key required for this step, go to the License Center and select the MATLAB (Individual) license. Then on the Installation and Activate tab, select Advanced Options, and copy the file installation key for the product you are installing.
To reinstall MATLAB on a small number of computers, uninstall and reinstall each MATLAB installation manually.
Uninstall MATLAB from the computer. See Uninstall MATLAB.
From MathWorks Downloads, download and install the latest release of MATLAB. When prompted during installation, select the MATLAB (Individual) license. For more details, see Download and Install MATLAB.
Update MATLAB Without Reinstalling
To transition existing MATLAB installations to the MATLAB (Individual) license without reinstalling them, complete the following steps:
Delete existing license files from university computers. The license file locations depend on the type of license in use and the platform of the computer.
Individual Licenses Files for Individual licenses are stored in the
subfolder of the user's profile or home folder. The default location of this folder is given below, whereR20XXy_licensesis the MATLAB release.R20XXyWindows® —
%AppData%\MathWorks\MATLAB\R20XXy_licensesLinux® —
~/.matlab/R20XXy_licensesmacOS —
/Users/$USER/Library/Application Support/MathWorks/MATLAB/R20XXy_licenses
Designated Computer, Concurrent, and Network Named User Licenses Files for Designated Computer, Concurrent, and Network Named User licenses are stored in the
subfolder of the MATLAB installation folder,matlabroot/licenses. The default location of this folder is given below, wherematlabrootis the MATLAB release.R20XXyWindows —
C:\Program Files\MATLAB\R20XXy\licensesLinux and macOS —
/usr/local/MATLAB/R20XXy/licenses
Replace the deleted license files with a file containing information required by the Campus-Wide License.
Create a file named
license_info.xml.Copy the information below into the
license_info.xmlfile.license_info.xml<root> <ActivationEntry hostname="*" matlabroot="*" user="*"> <licmode>onlinelicensing</licmode> </ActivationEntry> </root>Save this file in the
folder of each installed MATLAB release.matlabroot/licenses
(Concurrent and Network Named User licenses only) Uninstall the network license manager if one is in use. See Uninstall Network License Manager. If any client machines have an environment variable set to an old license server, delete that environment variable.
Start MATLAB and verify that the sign-in prompt opens. If you are not prompted to sign in, the installation might still point to an old license. Confirm that all old license files have been removed and repeat this procedure, if necessary.