User`s guide

2 Create Your First Report
2-24
a
In the End text box, replace the existing text with the following text:
length(magicSizeVector)
This is the length of the vector that contains the various sizes for the magic
square matrices.
b
In the Variable name text box, replace the existing text with the following text:
MAGIC_SQUARE_INDEX
This variable acts as a loop index.
The Outline pane looks as follows.
6
Save the report.
Add a Chapter for Each Square
Note: This section builds on the previous tasks described in the step-by-step example
summarized in “Create a MATLAB Report” on page 2-2.
If you have not completed the previous sections of this example, see open the completed
report setup file: Magic Squares Report.