dbstack
call stack.
Syntax
dbstack
st = dbstack()
dbstack('-completenames')
st = dbstack('-completenames')
dbstack('-completenames', omit)
st = dbstack('-completenames', omit)
Input argument
omit - an integer value: Number of frames to omit (must be positive).
Output argument
st - a struct
Description
dbstack displays the file names and line numbers of the function calls.
dbstack('-completenames') displays the full file names.
Example
Creates a myfun.m and calls it.
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated