%WHAT List MATLAB-specific files in directory.
%   The command WHAT, by itself, lists the M-files, MAT-files
%   and MEX-files in the current working directory.
%
%   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 M-files in directory
%   toolbox/matlab/general.
%
%   W = WHAT('directory') returns the results of WHAT in a structure
%   array with the fields:
%       path    -- path to directory
%       m       -- cell array of m-file names.
%       mat     -- cell array of mat-file names.
%       mex     -- cell array of mex-file names.
%       mdl     -- cell array of mdl-file names.
%       p       -- cell array of p-file names.
%       classes -- cell array of class names.
%
%   See also DIR, WHO, WHICH, LOOKFOR.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.9 $  $Date: 1997/11/21 23:32:49 $
%   Built-in function.
