test Statistic Toolbox without Flexlm server

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

Antworten (2)

Steven Lord
Steven Lord am 17 Jul. 2024

0 Stimmen

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 am 18 Jul. 2024
Bearbeitet: Marcello am 18 Jul. 2024

0 Stimmen

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

Kategorien

Produkte

Version

R2020a

Gefragt:

am 17 Jul. 2024

Bearbeitet:

am 18 Jul. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by