Simulink Property Table
Insert table that reports on model-level property name/property value pairs
Description
This component inserts a table that reports on model-level property name/property value pairs.
Properties
Select Object: Choose the object for the Property Table in the generated report.
Model
System
Block
Signal
Annotation
For more information about selecting object types in Property Table components, see Select Object Types.
Table
Select a preset table, which is already formatted and set up, in the preset table list in the upper-left corner of the attributes page.
Preset table: Specifies the type of the object property table.
Default
Simulation Parameters
Version Information
Simulink Coder Information
Summary (req. Simulink Coder)
Blank 4x4
To apply a preset table, select the table and click Apply.
Split property/value cells: Split property name/property value pairs into separate cells. For the property name and property value to appear in adjacent horizontal cells, select the Split property/value cells check box. In this case, the table is in split mode, so there is only one property name/property value pair per cell. If there is more than one name/property pair in a cell, only the first pair appears in the report. All subsequent pairs are ignored.
For the property name and property value to appear together in one cell, clear the Split property/value cells check box. That setting specifies non-split mode. Non split mode supports more than one property name/property value pair and text per cell.
Before switching from non split mode to split mode, make sure that there is only one property name/property value pair per table cell. If there is more than one property name/property value pair or text per cell, only the first property name/property value pair appears in the report. The report omits subsequent pairs and text.
Display outer border: Displays the outer border of the table in the generated report.
Table Cells: Specifies table properties to modify. The selection in this pane affects available fields in the Cell Properties pane.
Cell Properties
The options in this pane depend on the object selected in the Table
Cells pane. If you select %<Name>
Information
, only Contents and
Show appear. If you select any other object in the
Table Cells pane, Lower border and
Right border display.
Contents: Enables you to change the contents of the table cell selected in the Table Cells pane.
Show as: Specifies the format for the contents of the table cell.
Value
Property Value
PROPERTY Value
Property: Value
PROPERTY: Value
Property - Value
PROPERTY - Value
Alignment: Specifies how to align the contents of the selected table cells. Options are:
Left
Center
Right
Double-justified
Lower border: Displays the lower border of the table in the generated report.
Right border: Displays the right border of the table in the generated report.
Creating Custom Tables
To create a custom table, edit a preset table, such as the Blank
4x4
table. Add and delete rows and add properties. To open the
Edit Table dialog box, click Edit.
For more information on creating custom property tables, see Property Table Components.
If the Simulink®
Coder™ software is not installed, Summary (req Simulink
Coder)
does not appear in this list. If you are using a report
setup file that contains a summary property, the property name appears in the
report, but the property value does not.
Example
The following report displays information on the f14
model
using the Simulation Parameters preset table.
Solver ode45 | ZeroCross on | StartTime 0.0 StopTime 60 |
RelTol 1e-4 | AbsTol 1e-6 | Refine 1 |
InitialStep auto | FixedStep auto | MaxStep auto |
LimitMaxRows off | MaxRows 1000 | Decimation 1 |
Insert Anything into Report?
Yes. Table.
Class
rptgen_sl.csl_prop_table