boxplot function not working

51 次查看(过去 30 天)
in-p
in-p 2015-4-10
评论: Karolina 2015-7-16
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

回答(2 个)

Vinod Sudheesh
Vinod Sudheesh 2015-4-10
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 个评论
in-p
in-p 2015-4-10
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 2015-7-16
I also have this problem, but I have installed Statistics Toolbox. Do you know what can be wrong?

请先登录,再进行评论。


Torsten
Torsten 2015-4-10
What message do you get when you type
which boxplot
Best wishes
Torsten.
  1 个评论
in-p
in-p 2015-4-10
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!

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by