function strout=outlinestring(c)
%OUTLINESTRING returns a short description of the component

%   Copyright (c) 1997-2000 by The MathWorks, Inc.
%   $Revision: 1.7 $  $Date: 2000/03/23 19:36:39 $


switch c.att.LoopType
case 'Current'
   ltString='current model';
case 'All'
   ltString='all open models';
case 'Custom'
   mdlNames={c.att.CustomModels.MdlName};
   if isempty(mdlNames{1})
      ltString='<none selected>';
   else
      ltString=singlelinetext(c,mdlNames,', ');
   end
otherwise
   ltString='<Unrecognized loop type>';
end

strout=sprintf('Model Loop - %s', xlate(ltString));
