function uninstall()
%uninstall remove the layout package from the MATLAB path
%
% uninstall() removes the layout tools from the MATLAB path.
%
% Examples:
% >> uninstall()
%
% See also: install
% Copyright 2008-2010 The MathWorks Ltd.
% $Revision: 390 $
% $Date: 2013-08-12 09:40:24 +0100 (Mon, 12 Aug 2013) $
thisdir = fileparts( mfilename( 'fullpath' ) );
rmpath( thisdir );
rmpath( fullfile( thisdir, 'layout' ) );
rmpath( fullfile( thisdir, 'layoutHelp' ) );
rmpath( fullfile( thisdir, 'Patch' ) );
savepath();