MATLAB Answers


Error Message " grpstats requires Statistics and Machine Learning Toolbox"

Asked by Stephen Famurewa on 22 Aug 2019 at 13:45
Latest activity Answered by the cyclist
on 22 Aug 2019 at 17:06
I have just installed MATLAB but i keep getting an error message when running in-bult functions in Statistics and Machine learning tool box. The error message is " grpstats requires Statistics and Machine Learning toolbox." Matlab was able to find the function when i run "edit or which" but couldn't run it.
What could be wrong?


Nicolas Broch's comment mistakenly posted as answer moved here
Hi Stephen,
could you please copy here the result of the following command;
>> ver
MATLAB Version: (R2019a)
MATLAB License Number: 40X030XX
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 16299)
Java Version: Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 9.6 (R2019a)
Signal Processing Toolbox Version 8.2 (R2019a)
Statistics and Machine Learning Toolbox Version 11.5 (R2019a)

Sign in to comment.


1 Answer

Answer by the cyclist
on 22 Aug 2019 at 17:06
 Accepted Answer

The ver command will tell you the toolboxes you have installed, but they are not necessarily licensed. Try going to the license center and see which ones you have there.


Sign in to comment.