function whatsnew(arg)
%WHATSNEW Display Readme files.
%   WHATSNEW <toolboxpath> displays the Readme file for the toolbox
%   with the specified toolbox path.  For example,
%
%   whatsnew matlab    - Display MATLAB's Readme file.
%   whatsnew signal    - Display Signal Processing Toolbox Readme file.
%   whatsnew control   - Display Control Toolbox Readme file.
%
%   The Readme files, if they exist for each product, contain descriptions
%   of new functionality that is not described in the documentation.
%
%   See also VER, HELP, WHICH, PATH, LOOKFOR.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.7 $  $Date: 1997/11/21 23:32:50 $

if (nargin == 0 & (isunix | isvms)) % display some help
    disp(' ')
    disp('The following documents from the MATLAB 5.0 documentation set are')
    disp('available in compressed PostScript form in the event you don''t have')
    disp('your own printed copy. They provide information on what''s new in ')
    disp('this release of MATLAB and on converting from MATLAB 4 to MATLAB 5.0.')
    disp(' ')
    disp('Online versions of the some of the supplementary documentation')
    disp('may be found in the Relnotes directory.')
    relnotes = fullfile(matlabroot,'Relnotes');
    if exist(relnotes)==7
      disp(' ')
      disp(['dir ' relnotes])
      dir(relnotes)
    end
    disp(' ')
    disp('To find out about any features that don''t have documentation,')
    disp('use WHATSNEW with an argument:')
    help whatsnew
    return
elseif nargin == 0
   help whatsnew
        return
end
info(arg);
