MATLAB Report Generator | ![]() ![]() |
Selecting a Table
You can select a preset table to display property name/property value pairs, or you can create a custom table.
Preset Tables
A preset table is a table that is already formatted and set up. You can select a preset table in the preset table drop box in the upper left-hand corner of the attributes page. To apply a preset table, select the table and click on the Reset button. Note that the Reset button is active only when you select a preset table.
Custom Tables
To create a custom table, you can first select a preset table and then edit it. You may want to start with the Blank 4x4 preset table. You can add and delete rows and you can add properties.
If you want to use a custom table in more than one setup file, use Copy
Component and Paste Component from the Edit menu to copy the custom table from one setup file to another.
You cannot save a custom table as a preset table. If you create a table and then select a preset table, all your changes will be lost once you click on the Reset button.
Displaying Property Name/Property Value Pairs
The following sections discuss property name/property value pair display options.
Split Property/Value Cells
To have the property name and property value appear together in one cell, deselect the Split Property/Value Cells check box. This is the non-split mode. In the non-split mode, you can have more than one property name/property value pair per cell and you can also have additional text.
To have the property name and property value appear in adjacent horizontal cells in the table, select the Split Property/Value Cells check box. In this case, the table is in "split" mode and there can only be one property name/property value pair in a cell. If you have more than one pair in the cell in the Setup File Editor, then only the first pair is displayed in the report; all subsequent pairs are ignored.
Display Options
Each table cell in the report can display a property name/property value pair in one of several ways, shown in the table below.
Display Option |
"Split" Mode |
"Non-Split" Mode |
Property |
![]() |
|
To select how a property name/property value pair is displayed in a table cell in the report, select that cell and then choose one of the above display formats from the drop box at the bottom of the attributes page. You can also right-click on the table to invoke the context menu, and then select one of the above formats from the menu. Note that in the above table, the cells are center-justified. The next section discusses justification options.
Justification Options
The text in each cell can appear in the report in one of four ways, using the corresponding justification button. You can also right click on the table to invoke the context menu, select Cell justification, and then select one of the options shown below from the menu. These options are shown in the table below (note that the Property
Value
display option is shown here).
Option |
Button |
"Split" Mode |
"Non-Split" Mode |
Centered |
|||
Right- justified |
![]() |
![]() |
![]() |
Double- justified |
![]() |
![]() |
![]() | Property Table Components | Putting Text into a Table Cell | ![]() |