www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffnode/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 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


if isempty(obj.Tables)
    fl = 'cgemptytradeoff.bmp';
else
    fl = 'cgfulltradeoff.bmp';
end