MATLAB: Do I receive License Manager Error -101

MATLAB

When trying to launch MATLAB or attempting to use a toolbox I receive the following license manager error message:
License Manager Error -101
All licenses are reserved for others.
How can I resolve this error so that I can use MATLAB?

Best Answer

This error message indicates that the license administrator has reserved all the licenses of the product you are trying to use for other users. In order to use the toolbox, the license administrator will have to configure the network license manager to free up a reserved license or add you to the list of allowed users/computers.
NOTE: The change is made in the options file on the network license manager. This change must be made on the license server machine in order to take effect.
To make the change, the options file (generally MLM.opt) must be edited. The options file that the network license manager uses is specified within the DAEMON line of the license file on the license manager. For example:
DAEMON MLM "C:\Program Files\MATLAB\R2010b\etc\win32\mlm.exe" \
options="C:\Program Files\MATLAB\R2010b\etc\win32\mlm.opt"
For more information about where the options file, see the related solution: 1-1936F - "Is there a way to administer FLEXnet based licenses? How do I create an Options file?"
Here is an example options file where MATLAB licenses are reserved for the group "matlab_users":
GROUP matlab_users user1 user2 user3 user4 user5 user6 user7 user8
RESERVE 5 MATLAB GROUP matlab_users
Here is an example options file where the MATLAB licenses are reserved for specific computers called "matlab_computers"
HOST_GROUP matlab_computers host1 host2 host3 host4
RESERVE 5 MATLAB HOST_GROUP matlab_users
To resolve this issue either your username or hostname of the computer will need to be added to the GROUP or HOST_GROUP, depending upon which option is used. For the GROUP option, add the desired username to the end of the list. For the HOST_GROUP option, add the hostname of the computer to the HOST_GROUP line. Alternatively, you can resolve this issue by decreasing the number of licenses reserved. In the example above this can be done by changing "5" to "4" on the RESERVE line.
Once the appropriate changes have been made and the network license manager has been restarted, you should have access to the desired license.