www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtablenode/getduplicationptrs.m
function pDup = getduplicationptrs(nd) %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 the tree node % is copied. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % cgtablenodes return the table pointer plus the basic node pointers if issimpletable(info(getdata(nd))) pDup = [address(nd), children(nd), getdata(nd)]; else pDup = assign(xregpointer, []); end