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

 채택된 답변

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

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
********************************************************************************************
You have the product installed, but you do not have a license for it.
Contact sales. Have the research hospital buy/add a license for it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction 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