www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@modeldev/bestmdev.m
function p=bestmdev(mdev); % MODELDEV/BESTMDEV pointer to best mdev % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isempty(children(mdev)) % best model is itself if it is at the bottom of the tree. p= address(mdev); else p= mdev.BestModel; end