<< getLastReport | Error manager | lastwarn >> |
last_err = lasterror() |
lasterror('reset') |
lasterror(error_struct) |
error message structure.
l = lasterror() returns a structure containing the last error message and information as an struct.
lasterror('reset') clears last error.
lasterror(error_struct) set last error.
state = execstr('xxxxxx', 'errcatch')
if ~state
l = lasterror()
end
state = execstr('xxxxxx', 'errcatch')
l = lasterror();
lasterror('reset');
lasterror()
lasterror(l);
lasterror()
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET