test Statistic Toolbox without Flexlm server

3 views (last 30 days)
Marcello
Marcello on 17 Jul 2024
Edited: Marcello on 18 Jul 2024
Hello
Is there a possibility to launch a code and understand if the Statistics Toolbox license is available without going to Flexlm Licensing?
Thanks
M

Answers (2)

Steven Lord
Steven Lord on 17 Jul 2024
You could check using the license function before you try to use functions from Statistics and Machine Learning Toolbox whether or not a license for that toolbox is available.

Marcello
Marcello on 18 Jul 2024
Edited: Marcello on 18 Jul 2024
Hello Steven, I tried with the license code
license ('test', 'Statistics Toolbox')
but both with the license in use and not in use the code gives me the answer "1". Then I realized that he gave this answer because it only verifies the actual existence of the license.
Testing
a=license('inuse', 'Statistics_Toolbox')
I get an empty structure if the license is not in use, with the user name if in use
I'd say I've solved it
Thank you

Categories

Find more on Manage Products in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!