Matlab Network Concurrent User Install
https://docs.rc.uab.edu/
Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.
As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.
Thank you,
The Research Computing Team
There are potentially three pieces to MATLAB that may require updating if you have an updated license file:
- The license file on the FLEXnet license manager
- The MATLAB software (if new tools were added)
- The license file used by MATLAB to connect to the license server
- The License Manager software (if moving to a new release)
This information was retrieved from the mathworks support site on Jan 05 2011. It may be updated with UAB specific information.
To update your network based license
For instructions on obtaining an updated license file, see the related solution: 1-5VWC8W How can I obtain my Concurrent or Network Named User passcodes for R2008a and higher?
Updating the License File for the License Manager
Follow the instructions below to update your license file:
- Stop your license manager. For instructions on stopping the manager, see related solution 1-18PYZ "How do I start or stop the MathWorks FLEXnet license manager?"
- Locate your existing license.dat and rename the file license.old. The license.dat file on the server machine is located in:
- $MATLABROOT/etc ($MATLAB\flexlm for releases prior to R2010b on Windows)
- (where $MATLAB is the MATLAB installation directory)
- Open license.old with a text editor (for Windows, use Wordpad).
- Remove all the lines in the file except for the lines that begin with SERVER and DAEMON. For example, you should keep only the following lines:
- SERVER license-server-1.test.com 001abcd45e56 27000
- DAEMON MLM "C:\Program Files\MATLAB\R2009a\flexlm\mlm.exe"
- Paste the new license information into this file below the DAEMON line.
- Save the new file as license.dat.
- After you save the file, you will need to restart the license manager.
Updating the MATLAB software
If the new license includes new toolboxes or blocksets, you will need to install these into MATLAB. Otherwise, you can skip this step. The easiest way to add in new toolboxes is to reinstall all of your products using the standard installation procedure. See the network installation guide for more assistance: [1]
If your license file is an upgrade for a new release, see the related solution: 1-424AE3 How do I upgrade my MATLAB from one version to another?
Updating MATLAB's license file
If you are using MATLAB R2008a or higher, or if you are using a Windows platform, you will not need to update MATLAB's license file. Otherwise, see the information below for how to update MATLAB's license file.
If you are using MATLAB R2007b or below on Unix/Linux/Mac, you may need to update the license file if you change the license file on the FLEXnet license manager. Follow the steps below to update the license file:
- Rename the license.dat file located in $MATLAB/etc (where $MATLAB is the installation folder for MATLAB) to license.old
- Open license.old with a text editor (for Mac OS X, use TextEdit or a plain text editor. Do not use Microsoft Word)
- Locate the line that starts with the word SERVER. For example:
- SERVER license-server-1.test.com 001abcd45e56 27000
- On a new line underneath the SERVER line add a new line and place the following line:
- USE_SERVER
- If this line already exists, you do not need to add it in.
- Save this new file as license.dat.
Once complete, MATLAB will now check against the license manager. Once updated, you will not need to update the license file if you make any additional changes on the license manager.
Updating License Manager Software
Each release of MATLAB comes packaged with a particular license manager version (lmgrd) and license manager vendor daemon (mlm.exe or lm_matlab). If you are upgrading to a new version of MATLAB, you should also update the license manager software.
To do this on Windows, you should first remove the existing license manager service and installation. For specific instructions on how to uninstall and reinstall this software on Windows, see the related solution: 1-181DV "How do I reinstall the FLEXnet license manager on a Windows machine?"
For Linux/Mac/Unix, you can install the license manager as normal. see the related solution: 1-3XN8PT "How do I install the License Manager for a network license?". Make sure you stop the old license manager before starting the new one. For instructions on stopping the manager, see related solution 1-18PYZ "How do I start or stop the MathWorks FLEXnet license manager?"
Related Solutions:
- How do I reinstall the FLEXnet license manager on a Windows machine? [2]
- Are the License File and installation passcodes (PLP, FIK, etc.) backwards compatible? [3]
- How do I start or stop the MathWorks FLEXnet license manager? [4]
- How do I update the license for my existing standalone installation of MATLAB? [5]
- How do I install the License Manager for a network license? [6]
- How can I get my Concurrent or Network Named User license file for R2008a and higher? [7]
- How do I migrate my MATLAB clients to a new license server when the license server changes? [8]