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

    function [Type,icnew,ic]= ChildType(mdev,ind)
%CHILDTYPE node type of child

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



if nargin>1 && ind==1 && RFstart(model(mdev))
   Type= 'Datum Model';
else
   Type= 'Response Feature';
end
if nargout>1
   icnew=xregresload('newglobalmod.bmp','bmp');
end


if nargout>2
    if BMIndex(mdev)>0 && ismle(BestModel(mdev))
        ic=xregresload('mlerf.bmp','bmp');
    else
        ic=xregresload('gloreg.bmp','bmp');
    end
end