Desktop Tools and Development Environment Previous page   Next Page

Evaluating an Entire M-Book

To evaluate the entire M-book, either select Notebook -> Evaluate M-book or press Alt+R.

Notebook begins at the top of the M-book regardless of the cursor position and evaluates each input cell in the M-book. As it evaluates the M-book, Notebook inserts new output cells or replaces existing output cells.

Controlling Execution of Multiple Commands

When you evaluate an entire M-book, and an error occurs, evaluation continues. If you want to stop evaluation if an error occurs, follow this procedure:

  1. Select Notebook -> Notebook Options.
  1. The Notebook Options dialog box opens.

  1. Select the Stop evaluating on error check box and click OK.

Previous page  Evaluating a Calc Zone with Notebook Using a Loop to Evaluate Input Cells Repeatedly with Notebook Next page

© 1994-2005 The MathWorks, Inc.