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