User`s guide

R2008a
18-16
dbstop and dbclear Functions — Option to Specify File Not on Path
The –completenames option to the dbstop and dbclear functions enables you to
set and clear breakpoints, respectively, for M-files that are not on the search path in
MATLAB. See dbstop and dbclear for details.
edit Function Can Create New File in Existing Subdirectory
The edit function now allows you to specify a file that is not in the current directory. If
the file does not exist, the edit function creates it in the directory you specify. However,
the directory, must exist; the edit function will not create a directory for you. See edit for
details.
Nest Cells for Rapid Code Iteration; Includes Changes to Cell Highlighting
You can nest cells in an M-file, including within functions and control statements, such
as for loops and if-then blocks. This gives you greater control over how a published
document appears. This nesting ability also enables you to evaluate subsections of code
on a finer grain. See “Nest Cells for Finer Control” on page 18-19 for details.
Compatibility Considerations
With the introduction of nested cells, cells definitions result in cell highlighting that
looks different from previous releases. See Define Code Cells for details.
Publishing M-Files
New features and changes introduced in Version 7.6 (R2008a) are:
“Publish Functions and Scripts Using Publish Configurations; Includes Replacement
of Publishing Preferences” on page 18-17
“Nest Cells for Finer Control” on page 18-19
“Publish Button Moved” on page 18-25
“Publish Trademark Symbols” on page 18-25
“Specifying Code for MATLAB Software to Evaluate with the publish Function” on
page 18-25
“stopOnError Option No Longer Available with publish Function” on page 18-25
“Include Snapshot of M-file Output in Published Document” on page 18-25