function x = randnLike(obj, varargin)
%RANDNLIKE Helper for calling RANDN using the like syntax.
%   
%   This function is for internal use only. It may be removed in the future.

%   Copyright 2019 The MathWorks, Inc.

data = gatherData(obj.FormattedData);

xdata = randn(varargin{:}, 'like', data);

x = dlarray(xdata);
end
