Installation guide
Defining MATLAB Commands a s Input Cells for Notebook
the calc zone. The section break indicators include bold, gray brackets to
distinguish them from standard Wo rd section breaks.
Yo u 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 n umber of calc zones.
Note Us ing calc zones does not affect the scope of the variables in an M-book.
Variables u sed in one calc zone are accessible to all calc zones.
Creating a Calc Zone
After you create the text and cells you wanttoincludeinthecalczone,you
definethecalczonebyfollowing these steps:
1 Select the input cells and text to be included in the calc zone.
2 Select Notebook > Define Calc Zone.
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” on page 8-44 for information
about evaluating a calc zone.
Converting an Input Cell to Text with Notebook
To convert an input cell (or an autoinit cell or a cell group) to text,
1 Select the input cell with the mouse or position the cursor i n the input cell.
2 Select Notebook > Undefine Cells or press Alt+U.
When Notebook converts the cell to text, it reformats the cell contents
according to the Microsoft Word Normal style. For more information about
M-book styles, s ee “Modifying Styles in the M-Book Template” on page
8-39