MATLAB: What’s wrong with scatterhist R2015a

scatterhist

Hi –
I just updated matlab to R2015a, and when I ran scatterhist, say an example from mathworks, I got an error.
Am I missing something? Any help/suggestion would be greatly appreciated!
Pearl

Best Answer

what do you get if you type
which histogram -all
My guess is you have an alternative histogram.m function shadowing the new one introduced by the Mathworks in 2014b. (Looks like the one associated with distributionPlot.m from the FEX). You'll have to rename that alternative histogram.m or remove it from your path.