Q:

Matlab XTickLabels warning

I have a simple plot in Matlab 2014b. For example's sake:
b1 = bar(1:12, rand(12,1));
ax1 = gca;

The following warning message pops up when using the XTickLabels property:
xticklabels = ax1.XTickLabels;
Warning: The XTickLabels property will be removed in a future release. 

What is the preferred property to use instead at this point?

A:

The correct property to use is XTickLabel not XTickLabels.

