MATLAB Answers

Error Message " grpstats requires Statistics and Machine Learning Toolbox"

6 views (last 30 days)
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?


Guillaume on 22 Aug 2019
Nicolas Broch's comment mistakenly posted as answer moved here
Hi Stephen,
could you please copy here the result of the following command;
Stephen Famurewa
Stephen Famurewa on 22 Aug 2019
>> 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.

Accepted Answer

the cyclist
the cyclist on 22 Aug 2019
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.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!