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

    function [image,selim]= icon(mdev,type);
% MDEV_LOCAL/ICON

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



bm= BestModel(mdev);
if isempty(bm)
	L= model(mdev);
	im= icon(L);
else
	im= icon(bm);
end

image= im(1);
selim= im(2);
if nargin==2 & strcmp(type,'best')
	selim= im(3);
elseif status(mdev)==2
	image= im(3);
end