getLastReport

Returns last recorded formatted error message.

Syntax

  • messageText = getLastReport()

Output argument

  • messageText - a character vector: formatted error message.

Description

getLastReport returns last formatted error message.

Examples

lasterror('reset')
getLastReport()
state = execstr('xxxxxx', 'errcatch')
l = lasterror()
getLastReport

See also

lasterror, error.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated