MATLAB: Boxplot function not working

boxplotMATLAB and Simulink Student Suite

Hi I'm trying to use the boxplot function but I keep getting this error
Undefined function or variable 'boxchart'.
Error in IntraScatterHistograms (line 71)
s = boxchart(tbl(:,1), 'swine');
I checked to see if I have the statistics toolbox and I'm pretty sure I do
>> license('checkout','Statistics_Toolbox')
ans =
Any help is appreciated

Best Answer

  • boxchart was introduced in 2020a, and you don't need that toolbox to use it.