Installation guide
Notebook for Publishing to Word
Ensuring Data Co
nsistency in M-Books
An M-book can be t
hought of as a sequential record of a MATLAB session.
When executed in
order, from the first MATLAB command to the last, the
M-book accurate
ly reflects the relationships among these commands.
If, however, yo
u change an input cell or output cell as you refine your M-book,
Notebook does n
ot automatically recalculate input cells that de pe nd on either
the contents or
the results of the changed cells. As a result, the M -book may
contain incons
istent data.
When working on
an M-book, you might find it useful to select Evaluate
M-book period
ically to ensure that your M-book data is consistent. You could
also use calc z
ones to isolate related commands in a section of the M-book.
You can then u
se Evaluate Calc Zone to execute only those input cells
contained in
the calc zone.
Debugging an
d Notebook
Do not use deb
ugging functions or use the Editor/Debugger while evaluating
cells with N
otebook. Instead debug M-files from within MATLAB, and then
after compl
eting debugging, clear all the breakpoints and access the M-file
via Noteboo
k. If you debug while evaluating from Note bo ok, you might
experience
problems with MATLAB.
8-35