www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/HideNode.m
function OK= HideNode(h); % MBROWSER/HIDENODE hide the current node on model browser % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. OK=0; if h.CurrentNode~=0 %%%% Hide Old View OK = h.CloseSubFigures; if OK [View,OK]= hide(h.CurrentNode.info,h,h.GetViewData); if OK h.SetViewData(View); h.CurrentNode.cleanup; end end end