| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
Instead of, or in addition to using Editor features to debug files, you can use the following debug functions:
dbstop—Sets breakpoint
dbclear—Clears breakpoint
dbcont—Resumes execution from breakpoint, while in debug mode
dbdown—Reverses workspace shift performed by dbup, while in debug mode
dbmex—Enables MEX-file debugging on UNIX platforms
dbstack—Function calls stack, while in debug mode
dbstatus—Lists breakpoints
dbstep—Executes one or more lines from current breakpoint
dbtype—Lists M-file with line numbers
dbup—Shifts current workspace to workspace of caller, while in debug mode
dbquit—Quits debug mode
![]() | Using Cells for Rapid Code Iteration and Publishing Results | Tuning and Managing M-Files | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |