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

    function fl=iconfile(obj)
%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 The MathWorks, Inc. and Ford Global Technologies, Inc.


TS = BestModel(obj);
if isempty(TS);
    fl = iconfile( model(obj) );
else
    [fl,flbest]= iconfile(TS);
    if status(obj)==2
        fl = flbest;
    end
end