如何在MATLAB中显示或导航当前的执行行?
目前,我所知道的最接近的是使用dbup / dbdown:
K>> dbup
In workspace belonging to OneLevelAboveWhatImLookingFor (line 465)
K>> dbdown
In workspace belonging to ThisIsTheOne (line 37)
答案 0 :(得分:0)
感谢AnonSubmitter85!
dbstack显示当前的堆栈跟踪,从而提供了一种导航到下一行执行的简便方法:
K>> dbstack
> In ThisIsTheOne (line 37)
In OneLevelAboveWhatImLookingFor (line 465)
...