www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/ViewNode.m
function ViewNode(h,varargin) %VIEWNODE Refresh view of the current node in the CAGE browser % % VIEWNODE(CGB) refreshes the current display by calling the "view" method % of the current node. % Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc. if h.GUIExists if h.ViewCurrent~=1 p= h.SelNode; msgID=h.addStatusMsg('Updating display...'); % Update new view viewdata =p.view(h,h.getViewData,varargin{:}); h.setViewData( viewdata ); updateConnections(h); h.removeStatusMsg(msgID); end end