function str = mat2str(varargin)
%MAT2STR Represent matrix as character vector in MATLAB syntax
%   MAT2STR converts a dlarray to a character vector by extracting data
%   from the dlarray and then invoking the standard MAT2STR function. All
%   valid syntaxes for MAT2STR are supported.
%   
%   See also MAT2STR, DLARRAY.

%   Copyright 2019 The MathWorks, Inc.

% Call extractdata on all the input arguments and pass the call on
varargin = extractDlarrayCell(varargin);
str = mat2str(varargin{:});
