How can I check in (release) a license?

47 次查看(过去 30 天)
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 个评论
Eric nestler
Eric nestler 2015-6-29
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 2015-6-30
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.

请先登录,再进行评论。

采纳的回答

Andreas Goser
Andreas Goser 2015-4-22
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 个评论
Russ Duren
Russ Duren 2015-4-22
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

请先登录,再进行评论。

更多回答(3 个)

Andreas Goser
Andreas Goser 2015-4-24
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 个评论
Walter Roberson
Walter Roberson 2016-4-20
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 2016-4-20
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?

请先登录,再进行评论。


Andreas Goser
Andreas Goser 2016-4-20
编辑:Andreas Goser 2016-4-20
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.

Jay Jones
Jay Jones 2016-8-30
You could use the flexlm license manager utility:
lmutil lmremove -c license.dat feature user host display
  1 个评论
Walter Roberson
Walter Roberson 2016-8-31
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.)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by