User`s guide
Add Report Content Using Components
2-35
2
In the Library pane in the middle, under the MATLAB category, double-click Insert
Variable.
3
In the Properties pane on the right:
a
In the Variable name text box, enter mySquare, which is the variable that
contains the magic square of the specified size.
b
In the Title list, select None.
c
In the Array size limit text box, enter 0.
The Properties pane on the right looks as follows.
This Variable component displays the magic square matrix, stored in the
mySquare variable.
4
In the Outline pane, select the else component.
5
In the Library pane, under the Handle Graphics category, double-click Figure
Loop.
Do not change its properties.
6
In the Outline pane, select the Figure Loop component.