function enabledberror( hasDBError )
%ENABLEDBERROR turns on "dbstop if error" if hasDBError is true.

%   Copyright 1984-2000 by The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/01 02:54:09 $

if hasDBError
  dbstop if error;
end
