boxplot function not working

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)

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

Indeed I don't have it installed. I'm using a student version and aparently I need to require for the toolbox first. Thanks!
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

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.

Asked:

on 10 Apr 2015

Commented:

on 16 Jul 2015

Community Treasure Hunt

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

Start Hunting!