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

    function userdata = getuserdata( Tree, panel )
%XREGFITTREE/GETUSERDATA Get a panel's user data
%  GETUSERDATA(T,PANEL) returns the user data for the given PANEL.
%
%  See also XREGFITTREE.

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


if isempty( Tree.UserData ),
    userdata = [];
else,
    userdata = Tree.UserData{panel};
end

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