boxplot function not working

55 views (last 30 days)
in-p
in-p on 10 Apr 2015
Commented: Karolina on 16 Jul 2015
I try really simple inputs with boxplot and its not working, it gives me the following error: ‘‘undefined function 'boxplot' for input arguments of type 'double'''. I'm using the 2013a version. Any ideas? Thanks, Inês

Answers (2)

Vinod Sudheesh
Vinod Sudheesh on 10 Apr 2015
The "boxplot" function is a part of the "Statistics Toolbox". Do you have "Statistics Toolbox" installed?
You could check the same by entering the command
license('checkout','Statistics_Toolbox')
in MATLAB command prompt.
If the above command returns a value of "0", then it suggests that you do not have the "Statistics Toolbox".
  2 Comments
in-p
in-p on 10 Apr 2015
Indeed I don't have it installed. I'm using a student version and aparently I need to require for the toolbox first. Thanks!
Karolina
Karolina on 16 Jul 2015
I also have this problem, but I have installed Statistics Toolbox. Do you know what can be wrong?

Sign in to comment.


Torsten
Torsten on 10 Apr 2015
What message do you get when you type
which boxplot
Best wishes
Torsten.
  1 Comment
in-p
in-p on 10 Apr 2015
Indeed I don't have the toolbox installed. I'm using a student version and aparently I need to require for the toolbox first. Thanks!

Sign in to comment.

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!