Documentation

Object Loop

Run child components for Stateflow objects, and then insert table into report

Description

This component runs its child components for each Stateflow® object and inserts a table into the generated report.

For conditional processing of Stateflow objects, you can use the RptgenSF.getReportedObject function. For more information, see Loop Context Functions.

Object Types

  • Report on "Data" objects: Includes Stateflow data objects in the loop.

  • Report on "Event" objects: Includes Stateflow event objects in the loop.

  • Report on "Transition" objects: Includes Stateflow transition objects in the loop.

  • Report on "Junction" objects: Includes Stateflow junction objects in the loop.

  • Report on "Target" objects: Includes Stateflow target objects in the loop.

  • Report on "Note" objects: Includes Stateflow note objects in the loop.

Loop Options

  • Report depth: Specifies the level at which to loop:

    • Local children only (Default). Reports only on children one level down.

    • All objects. Reports on all Stateflow objects.

  • Skip autogenerated charts under truth tables: Excludes autogenerated charts under truth tables from the report.

  • Remove objects which do not contain more information than a snapshot: Excludes objects that contain only a snapshot.

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

Section Options

  • Create section for each object in loop: Inserts a section in the generated report for each object found in the loop.

  • Display the object type in the section title: Automatically inserts the object type into the section title in the generated report.

  • Create link anchor for each object in loop: Creates a hyperlink to the Stateflow object in the generated report.

Insert Anything into Report?

Yes, inserts a section if you select the Create section for each object in loop option.

Class

rptgen_sf.csf_obj_loop

Was this topic helpful?