Global Index (short | long) | Local contents | Local Index (short | long)
hasDBError = disabledberror
DISABLEDBERROR turns off "dbstop if error" and returns previous status.
This function is called by | |
---|---|
function hasDBError = disabledberror % Copyright 1984-2000 by The MathWorks, Inc. % $Revision: 1.2 $ $Date: 2000/06/01 02:54:09 $ % turn off "dbstop if error" while in the try-catch dbstat = dbstatus; hasDBError = logical(0); if ~isempty(dbstat) hasDBError = any(strcmp({dbstat.cond},'error')); dbclear if error; end