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

Antworten (2)

Vinod Sudheesh
Vinod Sudheesh am 10 Apr. 2015

1 Stimme

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 Kommentare

in-p
in-p am 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 am 16 Jul. 2015
I also have this problem, but I have installed Statistics Toolbox. Do you know what can be wrong?

Melden Sie sich an, um zu kommentieren.

Torsten
Torsten am 10 Apr. 2015

0 Stimmen

What message do you get when you type
which boxplot
Best wishes
Torsten.

1 Kommentar

in-p
in-p am 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!

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 10 Apr. 2015

Kommentiert:

am 16 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by