| Debugger functions |
| dbstack |
| st = dbstack() |
| dbstack('-completenames') |
| st = dbstack('-completenames') |
| dbstack('-completenames', omit) |
| st = dbstack('-completenames', omit) |
an integer value: Number of frames to omit (must be positive).
a struct
dbstack displays the file names and line numbers of the function calls.
dbstack('-completenames') displays the full file names.
Creates a myfun.m and calls it.
function myfun(x)
dbstack();
end
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET