How can I check in (release) a license?

46 visualizaciones (últimos 30 días)
Russ Duren
Russ Duren el 21 de Abr. de 2015
Comentada: Walter Roberson el 31 de Ag. de 2016
I know I can use license('checkout','map_toolbox') to checkout a license. Is there a simple way to check a license back in (release it so others can use it) without closing your MATLAB session?
  2 comentarios
Eric nestler
Eric nestler el 29 de Jun. de 2015
So I have no idea why this answer would be accepted. It said nothing. Could Mathworks please say exactly why there is not symmetric call to license as license('checkin','matlab_coder')
That would be an acceptable answer to me. Closing Matlab is completely unacceptable. Thanks, Eric
Andreas Goser
Andreas Goser el 30 de Jun. de 2015
You write "Could Mathworks please say...". If you expect a Mathworks employee speaking in behalf of the company in this technical user forum about a non technical topics, then you will be dissappointed. In case you have not yet spoken to your MathWorks Account manager, please do so.

Iniciar sesión para comentar.

Respuesta aceptada

Andreas Goser
Andreas Goser el 22 de Abr. de 2015
There is an article about this topic here.
But beside that, it would be important to know why closing MATLAB is not considered as an option. From my experience, some reasons are related to business topics and I'd suggest you reach out to your MathWorks account manager for the non-technical part of such a topic.
  1 comentario
Russ Duren
Russ Duren el 22 de Abr. de 2015
Andreas. Thank you for answering my question.
You stated, “it would be important to know why closing MATLAB is not considered as an option.” The answer is more a matter of efficiency. Here is the problem:
1. My company shares a limited number of licenses for some of your toolboxes across multiple sites.
2. Often an engineer will use a toolbox function once in a MATLAB session and then the license is unavailable for the rest of the engineers for the rest of the workday.
3. One can look up who has the license checked out and request that they release it periodically, but that is very inefficient.
4. Many of the functions in question are only used during a small percentage of the session time. For example, the license may only be required during simulation or compilation (the latter for coder products). Most of the session time may be devoted to editing code or block diagrams and analyzing the results of simulation; tasks that do not require the license. If the license was only tied up during simulation/compilation and automatically released afterwards, this would not be a problem.
I have used many tools from other CAD vendors that only tie up a license during certain operations. The license is then automatically released for other engineers to use without requiring the original user to end their session or to manually release the license. Without mentioning company names, some examples include: licenses for FPGA synthesis, place and route, etc.; high-level synthesis compilers; software compilers; and HDL simulators. Products from four different companies come to mind quickly.
I realize that the MATLAB toolbox licenses can be made available (i.e. a workaround) by training engineers to:
1. Be aware of the limited number of licenses available for some toolboxes.
2. Know which functions/actions checkout a license.
3. Close and restart their MATLAB session after executing such a function, when they do not anticipate needing it for a certain time.
However, all of the above training and effort is inefficient and would be unnecessary if MATLAB were to do this automatically. I would like to see The Mathworks adopt this licensing policy/method.
The above comments are just my opinion and based on my knowledge. They do not necessarily represent the opinion of my company.
Russ

Iniciar sesión para comentar.

Más respuestas (3)

Andreas Goser
Andreas Goser el 24 de Abr. de 2015
Thank You Russ, some of those items indeed are related to non-technical business topics and are not a good topic for this technical forum. I will let the account manager for your company know of this thread.
  8 comentarios
Walter Roberson
Walter Roberson el 20 de Abr. de 2016
You were not using logic, you were using rhetoric.
The tanuki is from a photograph I took at a store near Kobe; it is not one of the famous versions.
Justin
Justin el 20 de Abr. de 2016
Well if that's your only complaint then I guess I win. Thanks for the "free" win.
Did you get a chance to try their famous beef?

Iniciar sesión para comentar.


Andreas Goser
Andreas Goser el 20 de Abr. de 2016
Editada: Andreas Goser el 20 de Abr. de 2016
Justin, if your contact record in this forum is still up to date: Your university - actually pretty much all universtities in your Bundesland - have purchased a license for all researchers and all students for use at university and at home and to my best knowledge all products. Here is a press release.
  1 comentario
Andreas Goser
Andreas Goser el 20 de Abr. de 2016
And you have access to a larger MDCS license to speed up your code.

Iniciar sesión para comentar.


Jay Jones
Jay Jones el 30 de Ag. de 2016
You could use the flexlm license manager utility:
lmutil lmremove -c license.dat feature user host display
  1 comentario
Walter Roberson
Walter Roberson el 31 de Ag. de 2016
It is against the Terms of Use to use lmremove or otherwise restarting the license manager to free up a license early (less than the 4 hour minimum license timeout that can be configured.)

Iniciar sesión para comentar.

Categorías

Más información sobre Install Products en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by