(translator=PoChien, ChineseSource=PoChien-20020608-6\dbstep.html, EnglishSource=c:\matlabr12\help\techdoc\ref\dbstep.html)
MATLAB Function Reference    
dbstep

重目前的中斷處執行一到數行.

Graphical Interface

Editor/Debugger 中,你可用 Debug 選單中的 Step 以達成同樣的效果.

Syntax

Description

這個函式能讓你在除錯時從中斷點一次執行一至數行.

dbstep 時會執行此 M檔案可執行的下一行,且跳過目前的中斷點

##dbstep by itself, executes the next executable line of the current M-file. dbstep steps over the current line, skipping any breakpoints set in functions called by that line.( 不會翻這裡,大概翻,保留英文.. )

dbstep nlines 執行數行.

dbstep in 執行程式的下一行,若下一行呼叫了另一個 M檔案,則執行此 M檔案的第一行,如果下一行並沒有呼叫其它 M檔案,則 dbstep in 就等於 dbstep.

See Also

dbclear, dbcont, dbdown, dbquit, dbstack, dbstatus, dbstop, dbtype, dbup


  dbstatus   dbstop