www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/LevelUp.m

    function LevelUp(h)
%LEVELUP Select the node up from current in tree
%
%   LevelUp(h)

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


if ~h.GUILocked & h.GUIExists
    p=h.CurrentNode.Parent;
    if p~=0
        h.SelectNode(p);
    end
end