I dont know why I am getting error saying statistics and mechine learning toolbox is required

84 views (last 30 days)
I have not got this message earlier when I have used dataset in programming while executing this code: data= dataset('xlsfile', 'lit.xls')
  4 Comments
Muazma Ali
Muazma Ali on 12 Jan 2019
but I think I should have access to it as I had it on my previous computer maybe something wrong happened when I installed matlab on my new computer..
Walter Roberson
Walter Roberson on 12 Jan 2019
Another of your postings suggest you upgraded versions, by more than one release. That could suggest that you purchased a new license, in which case you might have accidentally purchased Student Version instead of Student Suite.

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 11 Jan 2019
The function 'dataset' is a function in the Statistics and Machine Learning Toolbox. You must have that toolbox installed to use it. The error message would susggest it is not installed.
Type the command 'ver' in you command window to see what products are installed.
If you have access but it is not installed, you can use the Add-Ons explorer (Home Tab under Environment) to install it.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!