%% Extract Data from dlarray
% Create a logical dlarray labeled 'SS'.

rng default % For reproducibility
dlX = dlarray(rand(4,3) > 0.5,'SS')

% Extract the data from dlX.

y = extractdata(dlX)

% Copyright 2019 The MathWorks, Inc.