dbstack
Function call stack
Description
dbstack
displays the line numbers and file names of the function calls
that led to the current pause condition, listed in the order in which they execute.
The display starts with the currently executing functions and continues until it
reaches the topmost function. Each line number is a hyperlink to that line in the
Editor. The notation functionname>localfunctionname
describes
the location of a local function.
dbstack(
omits the
first n
)n
stack frames from the display. This syntax
can be useful, for example, when issuing a dbstack
from
within an error handler.
dbstack(___, '-completenames')
outputs
the fully qualified name of each function in the stack.
You can specify '-completenames'
with any
of the input arguments in the previous syntaxes.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced before R2006a