%WHAT List MATLAB-specific files in directory.
%   The command WHAT, by itself, lists the MATLAB specific files found
%   in the current working directory. Most data files and other
%   non-MATLAB files are not listed. Use DIR to get a list of everything.
%
%   The command WHAT DIRNAME lists the files in directory dirname on
%   the MATLABPATH. It is not necessary to give the full path name of
%   the directory; a MATLABPATH relative partial pathname can be
%   specified instead (see PARTIALPATH). For example, "what general"
%   and "what matlab/general" both list the MATLAB program files in
%   directory toolbox/matlab/general.
%
%   If the folder is at a remote location, then DIRNAME must be specified
%   as a uniform resource locator (URL).
%
%   W = WHAT('directory') returns the results of WHAT in a structure
%   array with the fields:
%       path     -- path to directory
%       m        -- cell array of MATLAB program file names.
%       mlapp    -- cell array of MLAPP-file names.
%       mlx      -- cell array of MLX-file names.
%       mat      -- cell array of MAT-file names.
%       mex      -- cell array of MEX-file names.
%       mdl      -- cell array of MDL-file names.
%       slx      -- cell array of SLX-file names.
%       sfx      -- cell array of SFX-file names.
%       p        -- cell array of P-file names.
%       classes  -- cell array of class directory names.
%       packages -- cell array of package directory names.
%
%   See also DIR, WHO, WHICH, LOOKFOR.

%   Copyright 1984-2019 The MathWorks, Inc.
%   Built-in function.
