Notify when floating license become available
3 views (last 30 days)
Show older comments
Francesco Porretta on 22 Jul 2022
Answered: Walter Roberson on 22 Jul 2022
I'm searching for a way to notify me when other users using floating license close their Matlab application, and consequently a license become free.
In other words, I'm trying to notify in some way when I can open and use Matlab.
Is there a way?
Walter Roberson on 22 Jul 2022
That's a good question, but unfortunately the tools for doing that are not good.
You can use lmutil lmstat https://www.mathworks.com/help/install/ug/network-license-manager-tools.html and read off the "total of <N> licenses available" and then parse the output after that to see how many are in use.
However this is probably not going to go well if there are group licenses: if you are part of a Group then you care about what is available for the Group, not everything the license manager handles. Likewise if the licenses are restricted in other ways such as reserved by IP address.
More Answers (0)
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!