www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregfittree/getnpanels.m

    function n = getnpanels( Tree )
%XREGFITTREE/GETNPANELS Get the number of panles in a tree
%  GETNPANELS(T) is the number of panles that are in the tree T.
%
%  See also XREGFITTREE.

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


n = length( Tree.Parent );

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|