function desktop
%DESKTOP  Start the MATLAB Desktop
%   DESKTOP starts the MATLAB Desktop using the configuration
%   stored the last time the Desktop was run, or the default
%   configuration if no configuration file is present.

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.3 $  $Date: 2000/07/20 20:40:15 $


% Check for required level of Java support
err = javachk('mwt', 'Desktop');
if (~isempty(err))
    error(err);
end

%Launch the Desktop
try
    com.mathworks.ide.desktop.MLDesktop(0);
catch
    error('Failed to open Desktop');
end

