Desktop Tools and Development Environment |
Defining Calc Zones for Notebook
You can partition an M-book into self-contained sections, called calc zones. A calc zone is a contiguous block of text, input cells, and output cells. Notebook inserts Microsoft Word section breaks before and after the section to define the calc zone. The section break indicators include bold, gray brackets to distinguish them from standard Word section breaks.
You can use calc zones to prepare problem sets, making each problem a separate calc zone that can be created and tested on its own. An M-book can contain any number of calc zones.
Note Using calc zones does not affect the scope of the variables in an M-book. Variables used in one calc zone are accessible to all calc zones. |
Creating a Calc Zone
After you create the text and cells you want to include in the calc zone, you define the calc zone by following these steps:
Note You must select an input cell and its output cell in their entirety to include them in the calc zone. |
See Evaluating a Calc Zone with Notebook for information about evaluating a calc zone.
Defining Autoinit Input Cells for Notebook | Converting an Input Cell to Text with Notebook |
© 1994-2005 The MathWorks, Inc.