FUNCTION REFERENCE

getReport

Return an exception's message followed by a newline.

Return an exception's message followed by a newline.

Syntax

text = getReport(exception)

Example

strtrim(getReport(MException('a:b','text')))   % text

Differences from MATLAB: Extended reports and hyperlinks are not implemented.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.