www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/addStatusMsg.m
function ID = addStatusMsg(h,msg) %ADDSTATUSMSG Add a message to cgbrowser statusbar % % MSGID = ADDSTATUSMSG(CGB, MSGSTR) sets the string MSGSTR as the display % in the statusbar. The returned MSGID is a unique identifier that can be % used to remove the string at a later point. % % See also CGBROWSER/REMOVESTATUSMSG, CGBROWSER/ADDTIMEDSTATUSMSG % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if h.GUIExists ID = h.Hand.Figure.StatusBar.addMessage(msg); end