www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgcalgui/@progressmanager/stop.m

    function stop(obj)
%STOP  Stop the progress manager.
%
%  STOP(OBJ) stops the progress manager.

%  Copyright 2004-2013 The MathWorks, Inc.


hWaitbar = obj.Waitbar;
if ~isempty(hWaitbar) && isgraphics(hWaitbar)
    delete(hWaitbar);
end
obj.Waitbar = [];