www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgnormfunction/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 expression. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isempty(obj) fl = 'cgemptyfunction.bmp'; else if all(all(get(obj,'values')==0)) fl = 'cginitfunction.bmp'; else fl = 'cgfullfunction.bmp'; end end