Codice di debug
Diagnosticare i problemi durante lo sviluppo del codice nell'Editor
Diagnosticare e risolvere i problemi nel codice MATLAB® utilizzando strumenti di debug interattivi nell'Editor e in Live Editor oppure eseguendo funzioni di debug nella finestra di comando.
Funzioni
dbclear | Remove breakpoints |
dbcont | Resume execution |
dbdown | Reverse dbup workspace shift |
dbquit | Quit debug mode |
dbstack | Function call stack |
dbstatus | List all breakpoints |
dbstep | Execute next executable line from current breakpoint |
dbstop | Set breakpoints for debugging |
dbtype | Display file with line numbers |
dbup | Shift current workspace to workspace of caller in debug mode |
keyboard | Give control to keyboard |
echo | Display statements during function or script execution |
Argomenti
- Debug MATLAB Code Files
Diagnose problems in MATLAB code files using different debugging methods. (Da R2021b)
- Editor/Debugger Settings
Use Editor/Debugger settings to customize the Editor.