I tried the following command in Matlab 2013a and Matlab 2014a to remove the tick labels:
plot(1:10, 1);set(gca,'YTickLabel',[]);
This works perfectly. In Matlab 2015a, I get the following error:
Error using setConversion to double from struct is not possible.
Is this a bug or am I doing something wrong?
Best Answer