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

    function [fl,flBest]=iconfile(TS)
%ICONFILE  return the filename of a bmp
%
%  FL=ICONFILE(OBJ) returns the filename of a bmp that should
%  be used as an icon for this node.

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



if ismle(TS)
    fl='mle2.bmp';
    flBest='best_mle2.bmp';
elseif isa(TS.Local,'localmulti')
    fl='modelSwitch.bmp';
    flBest='modelSwitch.bmp'; 
else
    fl='tworeg.bmp';
    flBest='best_tworeg.bmp'; 
end