function enabledberror( hasDBError ) %ENABLEDBERROR turns on "dbstop if error" if hasDBError is true. % Copyright 1984-2002 The MathWorks, Inc. % $Revision: 1.1 $ $Date: 2006/10/05 17:00:15 $ if hasDBError dbstop if error; end