| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB Report Generator |
| Contents | Index |
| Learn more about MATLAB Report Generator |
Property Table components display property name/property value pairs for objects in tables. This appears in the following example table from the figloop-tutorial report.

Many types of Property Table components are available, including:
MATLAB Property Table
Simulink Property Table
Stateflow Property Table
The component used in this example represents MATLAB Report Generator Property Table components, all of which exhibit similar behavior.
This example uses the figloop-tutorial report template. To open the figure loop tutorial report template, enter the following at the MATLAB command line:
setedit figloop-tutorial
Property pages for all Property Table components are similar in form. The following figure shows the Properties pane for the Handle Graphics Property Table component. To modify table settings, click Edit.

Property Table components offer multiple object types on which to report. For example, the Handle Graphics Property table lets you report on a figure, an axes object, or a Handle Graphics object.
You can select a different object type on which to report in the Object type list in the component's Properties pane.
In the Handle Graphics Property Table component's Properties pane, click Edit.
For a given property name and property value to appear together in one cell of a table, clear the Split property/value cells check box. The table is now in nonsplit mode. Nonsplit mode supports more than one property name/property value pair per cell and text.

For the property name and property value to appear in adjacent horizontal cells in the table, select the Split property/value cells check box. The table is now in split mode. Split mode supports only one property name/property value pair per cell. If more than one property pair appears in a cell, only the first pair appears in the report; all subsequent pairs are ignored.

Property name/property value pairs can appear in cells in several ways. To specify how a given property name/property value pair appears in a cell, select that field in the table and choose Value from the Display As selection list under the Figure Properties box. In the selected table row, only the value appears.

To specify alignment for text in a given cell, use the four justification buttons in the toolbar under the Figure Properties box.
In this example, the selected table row is double justified. To change justification options, right-click a table row and make the changes in its context menu.

Table titles can contain properties and text. By default, the title of a table is the same as the value of the %<Name> property. You can modify this property to modify the table title.
To enter text into a table cell, double-click the cell. A gray box appears with the label for the cell property.

If you type text outside the angle brackets, the text appears as is in the report. Text inside the table brackets must specify a valid property name. If you enter an invalid property name, the property name appears in the report without a property value.
To add a Handle Graphics property to a table cell:
In the Figure Prop Table window, add a new table row to the current table.
Select a table row directly under the row to which to add a new property.
Click Add Row Above Current Cell.
A new row appears above the current row.
Add the property to the new table row.
Select the new table row.
In the Properties Type selection menu at the upper-right of the window, select a property type.
In the Properties menu, select the property you want to add.
Click the << Add button, or double-click the property name. The property appears in the table row.
Alternatively, if you know the name of the property you want to add, enter the property name directly into the cell as described in Entering Text into Table Cells. For information about adding new table rows, see Adding and Deleting Columns and Rows.
To replace a property in a cell of a table in split mode, follow the instructions in Adding Table Properties.
Delete a property by backspacing over it or using the Delete key.
To toggle cell borders on and off:
Place your cursor in a cell and right-click to invoke its context menu.
Choose Cell borders > Top, Bottom, Right, or Left to toggle the specified border on or off.
To add or delete a column or row, select a cell and then click one of the buttons described in the following table.
Button | Action |
|---|---|
|
| Add column (added to the left of the selected column) |
|
| Delete selected column |
|
| Add row (added above the selected row) |
|
| Delete selected row |
To resize the width of a column, click and drag its vertical borders as needed.
You can zoom in and out of the table with the zoom buttons, which are located to the left of the horizontal scroll bar.
Button | Action |
|---|---|
|
| Zoom in |
|
| Zoom out |
You can scroll vertically and horizontally using the table's scroll bars.
To display property name/property value pairs, you can select a preset table or use a custom table.
A preset table is built-in and formatted. You can select a preset table in the preset table selection list in the upper-left of the Figure Prop Table window. To apply a preset table, select the table and click Apply.
To create a custom table, select a preset table and modify it to fit your needs by adding and/or deleting rows and properties. You may want to start with the Blank 4x4 preset table.
![]() | Working with Looping Components | Working with Summary Table Components | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |