%% Obtain Dimension Labels
% Obtain the dimension labels of a dlarray.

dlX = dlarray(randn(3,4),'TS');
d = dims(dlX)

% Obtain the labels of an unlabeled dlarray.

y = stripdims(dlX);
d = dims(y)

% Copyright 2019 The MathWorks, Inc.