www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mctree/TreeIndex.m
function p=TreeIndex(T,index) %TREEINDEX Set the TreeIndex of the node. % % N = TREEINDEX( N, INDEX ) % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if nargin==2; T.TreeIndex= index; pointer(T); p=T; else p= T.TreeIndex; end