Got this error message: statset requires Statistics and Machine Learning Toolbox.

Hi, all,
Does anyone know how to fix this?
I got the following error message but I have this toolbox installed.
"statset requires Statistics and Machine Learning Toolbox."
Thank you,
Steve

 採用された回答

Image Analyst
Image Analyst 2024 年 2 月 15 日
Do you see it listed when you give the "ver" command?
What does this show
hasLicenseForToolbox = license('test', 'Statistics_Toolbox') % Check for Statistics and Machine Learning Toolbox.
If it says you have the license, then call tech support for them to walk you through the solution.

4 件のコメント

Steve Hui
Steve Hui 2024 年 2 月 16 日
Thanks for your reply.
ver shows me I have installed the toolbox but the other command shows no license (0, see below).
Here's how I installed MATLAB. I started with a trial version and after the trial version was expired, my colleague installed a different license for me (open label, academic use). Since then, the toolbox is no longer functioning. Is this a license issue or my MATLAB installation issue? I'm working in a research hospital fyi.
Best,
Steve
*******************************************************************************************
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 23.2.0.2485118 (R2023b) Update 6
-----------------------------------------------------------------------------------------------------
MATLAB Version 23.2 (R2023b)
Statistics and Machine Learning Toolbox Version 23.2 (R2023b)
********************************************************************************************
>> hasLicenseForToolbox = license('test', 'Statistics_Toolbox') % Check for Statistics and Machine Learning Toolbox.
hasLicenseForToolbox =
0
********************************************************************************************
Walter Roberson
Walter Roberson 2024 年 2 月 16 日
You have the product installed, but you do not have a license for it.
Image Analyst
Image Analyst 2024 年 2 月 17 日
Contact sales. Have the research hospital buy/add a license for it.
Steve Hui
Steve Hui 2024 年 2 月 20 日
Thank you both!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2023b

質問済み:

2024 年 2 月 15 日

コメント済み:

2024 年 2 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by