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

    function pDup = getduplicationptrs(T)
%GETDUPLICATIONPTRS Return the pointers required for duplicating a node
%
%  P_DUP = GETDUPLICATIONPTRS(T) returns a (1xn) xregpointer vector
%  containing the pointers that need to be duplicated when thie tree node
%  is copied.  

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


pDup = [address(T), T.Children];