www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdryroot/delchild.m

    function br = delchild( br, chind )
%DELCHILD Cleans up deletion of a child 
%
%  BR = DELCHILD(BR,CHIND), where CHIND is the child index

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

% Need to establish if the best model has been deleted.
ch = children( br );
if ismember( br.Best, ch ),
    br.Best = xregpointer;
end