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

 Réponse acceptée

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 commentaires

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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by