Can I configure my license server to return idle MATLAB seats?

77 views (last 30 days)
Can I configure my license server to return idle MATLAB seats? Does MATLAB support FlexLM's timeout feature?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Nov 2021
Edited: MathWorks Support Team on 16 Nov 2021
FlexLM has a feature called TIMEOUT which automatically returns idle license seats after a specified amount of time has lapsed. TIMEOUT has the following limitations:
  1. The minimum duration for TIMEOUT is 14400 seconds, i.e. 4 hours.
  2. TIMEOUT only applies to MATLAB. Once MATLAB times out, toolboxes in use in that session of MATLAB will also be returned.
  3. To enact a TIMEOUT, MATLAB clients must be on R14SP3 or higher and the network license manager must be running version 9.2 or higher.
  4. For the purposes of TIMEOUT, a MATLAB session is considered idle if there has been no user interaction and no running jobs for the entirety of the specified TIMEOUT duration.
To enact a TIMEOUT, add the following line in your license manager options file:
TIMEOUT MATLAB 14400
This will set the TIMEOUT duration to 4 hours, however you can set the TIMEOUT duration higher if desired. The TIMEOUT duration must be specified in seconds. The network license manager must be stopped and started for the new TIMEOUT duration to take effect.
  5 Comments
Walter Roberson
Walter Roberson on 15 Dec 2020
Sorry, any mechanism that might effectively reduce the minimum timeout duration will be considered a license violation by Mathworks.

Sign in to comment.

More Answers (3)

Justin Ghetti
Justin Ghetti on 1 Feb 2018
In that scenario, MATLAB will check out another license key from the server when the user returns to the client workstation and would not lose any unsaved work.
  1 Comment
Dave Birch
Dave Birch on 1 Feb 2018
What if no license was available? Would he/she be able to keep the application open until a license becomes available?

Sign in to comment.


Justin Ghetti
Justin Ghetti on 2 Feb 2018
If no license was available, he/she would receive 'License Manager Error -4 Maximum number of users for MATLAB reached. Try again later' In this case any unsaved work would remain unsaved and he/she would not be able to use MATLAB until a license was available.
  3 Comments
Steven
Steven on 7 Nov 2018
SolidWorks, I believe the Autodesk packages. You can save regardless of having a license.

Sign in to comment.


Daniel Lobjois
Daniel Lobjois on 11 Oct 2018
My licence file contains group licences and floating licences. I wish that the timeout impacts only the floating licences. How can I specify it in the licence file ?

Categories

Find more on Manage Products in Help Center and File Exchange

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!

Translated by