Graphical Interface
Editing and Debugging M-Files
| Ways to Edit and Debug M-Files in MATLAB | Methods for editing
|
| Starting the Editor/Debugger | Create new files, open existing files, and open files without starting MATLAB. |
| Creating and Editing M-Files with the Editor/Debugger | Controlling the appearance of M-files during editing, navigating in files, run M-files, and save, printing, and close files. |
| Debugging M-Files | Types of errors, finding errors, an example using the Debugger, and debugging features. |
| Preferences for the Editor/Debugger | Use preferences to specify the editor to be used, fonts and colors, display attributes, keyboard and indenting, autosave options, and more. |
Syntax
Description
dbstatus lists all breakpoints in effect including error, warning, and naninf.
dbstatus function displays a list of the line numbers for which breakpoints are set in the specified M-file.
s = dbstatus(...) returns the breakpoint information in an m-by-1 structure with the fields
name | Function name |
line | Function line number |
cond | Condition string (error, warning, or naninf) |
Use dbstatus class/function or dbstatus private/function or dbstatus class/private/function to determine the status for methods, private functions, or private methods (for a class named class). In all these forms you can further qualify the function name with a subfunction name as in dbstatus function/subfunction.
No comments:
Post a Comment