User`s guide

R2006a
22-8
Debugging Changes
The dbstop function now allows you to stop at, (not in), a non M-file, allowing you
to view code and variables near it in your M-file. For example, if you want to stop at
the point in your M-file myfile.m where the built-in clear function is called, run
dbstop in clear; mymfile. Use this feature with caution because the debugger
stops in M-files it uses for running and debugging if they contain the non M-file,
and then some debugging features do not operate as expected, such as typing help
functionname at the K>> prompt.
Cell Mode On by Default — Shows Cell Toolbar and Possibly Horizontal Lines and Yellow
Highlighting; Cell Information Bar and Button Added
Cell mode, a useful feature in the Editor/Debugger for publishing results and rapid code
iteration, is now enabled by default. An M-file cell is denoted by a %% at the start of a
line. Any M-file that contains %% at the start of a line is interpreted as including cells.
The Editor/Debugger reflects the cell toolbar state and the cell display preferences, such
as yellow highlighting of the current cell and gray horizontal lines between cells.
For quick access to information about using cells in M-files, use the new information
button on the cell toolbar.