How do I release or return a toolbox license key back to the pool of available keys without restarting the network license manager or exiting MATLAB?

161 views (last 30 days)
I would like to know if it is possible to return the toolbox key back to the network license manager without closing/exiting the current MATLAB session.
I see the following message when I start MATLAB, or when I attempt to run a function from a toolbox even though no one else is using the license key:
License Manager Error -4
Maximum number of users for "..." reached. Try again later.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Feb 2019
Toolbox license keys cannot be returned without exiting MATLAB. The Toolbox license keys get checked back in when the main MATLAB session is ended. Each time MATLAB is launched, a MATLAB license key is checked out from the pool of available licenses. Likewise, if a function from a MATLAB toolbox is called, a license key for that toolbox is checked out.
If you are having an issue returning license keys after closing the MATLAB session, contact the Installation and Licensing Team by creating a Service Request here:
  9 Comments
Walter Roberson
Walter Roberson on 19 Apr 2022
The hypothesis is, if I understand correctly, that if it is too costly to you to have an admin look up who is using the license, and track them down and have them exit matlab to free up the license, then you ought to be purchasing more licences.

Sign in to comment.

More Answers (1)

Jonathan
Jonathan on 17 Oct 2016
Perhaps there is very little incentive for the developers to "make efficient use of the resources available". The business preference would likely be for the end user to buy more licenses.
In this day and age, it sure would be nice to check licenses out directly from MathWorks servers and pay monthly on a per usage basis. Does such a business model exist?

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!