www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mctree/Parent.m

    function P = Parent(T)
%PARENT Return pointer to the parent of the node
%
%  PARENT(T) returns the pointer to the parent of the node.  The pointer
%  will be null if T is the root of a tree.

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


P = T.Parent;