Main Content

Stateflow Summary Table

Table of properties or parameters of specified Stateflow object

Description

This component displays a table of properties or parameters of specified Stateflow® objects. It can have the following parents:

  • Any Stateflow looping component

  • Any Simulink® looping component (Model Loop, System Loop, Block Loop, or Signal Loop)

Properties

  • Object type: Specifies the object type to display in the generated report. This value affects the options available in the Property Columns pane.

  • Table title: Specifies the table title in the generated report.

    • Automatic: Use the automatically generated title.

    • Custom: Specify a custom title.

Property Columns

  • Property columns: Displays the object properties to include in the Summary Table in the generated report.

    • To add a property:

      • Select the appropriate property level in the text box.

      • In the context list under the text box, select the property that you want to add and click Add.

    • To delete a property, select the property name and press the Delete key.

    Some entries in the list of available properties (such as Depth) are “virtual” properties that you cannot access using the get_param command. The properties used for property/value filtering in the block and System Loop components must be retrievable by the get_param. Therefore, you cannot configure your Summary Table to report on all blocks of Depth == 2.

  • Remove empty columns: Removes empty columns from the Summary Table in the generated report.

  • Transpose table: Changes the summary table rows into columns in the generated report, putting the property names in the first column and the values in the other columns.

Object Rows

Insert anchor for each row: Inserts an anchor for each row in the summary table.

Report On

  • Automatic list from context: Reports on all blocks in the current context, as set by the parent component.

  • Custom - use block list: Reports on a specified list of blocks. Specify the full path of each block.

Loop Options

Choose block sorting options and reporting options in this pane.

  • Sort blocks: Specifies how to sort blocks (applied to each level in a model):

    • Alphabetically by block name: Sorts blocks alphabetically by name.

    • Alphabetically by system name: Sorts systems alphabetically by name. Lists blocks in each system, but in no particular order.

    • Alphabetically by full Simulink path: Sorts blocks alphabetically by Simulink path.

    • By block type: Sorts blocks alphabetically by block type.

    • By block depth: Sorts blocks by their depth in the model.

    • By layout (left to right): Sorts blocks by their location in the model layout, by rows. The block appearing the furthest toward the left top corner of the model is the anchor for the row. The row contains all other blocks that overlap the horizontal area defined by the top and bottom edges of the anchor block. The other rows use the same algorithm, using as the anchor the next unreported block nearest the left top of the model.

    • By layout (top to bottom): Sorts blocks by their location in the model layout, by columns. The block appearing the furthest toward the left top corner of the model is the anchor for the column. The column contains all other blocks that overlap the vertical area defined by the left and right edges of the anchor block. The other columns use the same algorithm, using as the anchor the next unreported block nearest the left top of the model.

    • By traversal order: Sorts blocks by traversal order.

    • By simulation order: Sorts blocks by execution order.

  • Search for Simulink property name/property value pairs: Reports only on the Simulink blocks with the specified property name-value pairs. To enable searching, click the check box. In the first row of the property name and property value table, click inside the edit box, delete the existing text, and type the property name and value.

    To find property names for blocks, use the get_param function or select a block in the model and enter this code at the MATLAB® command line:

    get(gcbh)

  • Search Stateflow: Reports on Stateflow charts with specified property name/property value pairs.

Insert Anything into Report?

Yes. Table.

Class

rptgen_sf.csf_summ_table