www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/removeStatusMsg.m

    function removeStatusMsg(h,ID)
%REMOVESTATUSMSG Remove a message from browser status bar
%
%  REMOVESTATUSMSG(CGB, MSGID) removes the message that is identified with
%  the unique MSGID.  MSGID is the identifier that is returned from
%  ADDSTATUSMESSAGE.
%
%  See also: CGBROWSER/ADDSTATUSMESSAGE, CGBROWSER/ADDTIMEDSTATUSMESSAGE

%  Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc.


if h.GUIExists
    SB = h.Hand.Figure.StatusBar;
    if ishandle(SB)
        SB.removeMessage(ID);
    end
end