function reloadsys(sysname)
%RELOADSYS Simulink/Stateflow reload system dialog.
%   RELOADSYS(SYSNAME) Prompts the user to reload a system
% 	by closing and reopening it.
%
%   Most errors are handled here.  All others are thrown.
%

%   Copyright 2000 by The MathWorks, Inc.
%   $Revision: 1.4 $  $Date: 2000/08/22 15:12:53 $

import com.mathworks.verctrl.ReloadDlg;

dlg                 = ReloadDlg(sysname);