test Statistic Toolbox without Flexlm server

17 次查看(过去 30 天)
Marcello
Marcello 2024-7-17,12:06
编辑: Marcello 2024-7-18,7:31
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

回答(2 个)

Steven Lord
Steven Lord 2024-7-17,13:00
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 2024-7-18,6:05
编辑:Marcello 2024-7-18,7:31
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

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by