function Str = describe(Constr, keyword)
%DESCRIBE  Returns constraint description.

%   Authors: A. Stothert
%   Copyright 1986-2004 The MathWorks, Inc. 
%   $Revision: 1.1.6.2 $ $Date: 2004/12/26 21:51:41 $


Str = sprintf('Region Constraint');

if (nargin == 2) && strcmp(keyword, 'detail')
   if strcmp(Constr.Type, 'upper')
      Str = sprintf('Upper Limit Region Constraint');
   else
      Str = sprintf('Lower Limit Region Constraint');
   end
   XUnits = Constr.getDisplayUnits('XUnits');
   Range = unitconv(Constr.Sigma(:), ...
      Constr.SigmaUnits, ...
      XUnits);
   Str = sprintf('%s from %0.3g to %0.3g', ...
      Str, min(Range), max(Range));
end
