function str = num2str(varargin)
%NUM2STR Convert numbers to character representation
%   NUM2STR converts a dlarray to a character representation by extracting
%   data from the dlarray and then invoking the standard NUM2STR function.
%   All valid syntaxes for NUM2STR are supported.
%   
%   See also NUM2STR, DLARRAY.

%   Copyright 2019 The MathWorks, Inc.

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