function varargout = pathtool
%PATHTOOL Path tool
%
%   See also EDIT, WORKSPACE, OPENVAR, and FILEBROWSE

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.34 $

% Make sure that we can support the Path tool on this platform.
error(javachk('mwt', 'The Path tool'));

try
    % Launch Java Path Browser
    browser = com.mathworks.ide.browsers.PathBrowser.getPathBrowser;
    if nargout > 0
        varargout{1} = browser;
    end
catch
    % Failed. Bail
    error('Failed to open path tool');
end
