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

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

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



Type= 'Response Model';
if nargout>1
   icnew=xregresload('newrf.bmp','bmp');
end
if nargout>2
    switch type(T)
        case 'One-Stage'
            ic=xregresload('gloreg.bmp','bmp');
        case 'Two-Stage'
            ic=xregresload('tworeg.bmp','bmp');
        case 'Point-by-Point'
            ic=xregresload('modelSwitch.bmp','bmp');
        otherwise
            ic=xregresload('gloreg.bmp','bmp');
    end
end