Simulink Function System Loop

Report on Simulink functions specified in a Stateflow loop

Description

This component runs its child components for each Simulink® function system defined by the parent component. For example, to include Simulink functions within a given model in the report, you can include this component as the child of a Stateflow® Object Loop or Object Loop component, each of which in turn is usually a child of a Chart Loop component.

Report On

Include subsystems in nested Simulink functions: Specifies whether to include subsystems in nested Simulink functions. By default, this option is enabled.

Loop Options

  • Sort Systems: Specifies how to sort systems.

    • Alphabetically by system name (default): Sorts systems alphabetically by name.

    • By number of blocks in system: Sorts systems by number of blocks. The list shows systems by decreasing number of blocks; that is, the system with the largest number of blocks appears first in the list.

    • By system depth: Sorts systems by their depth in the model.

    • By traversal order: Sorts systems in traversal order.

  • Search for: Reports only on Subsystem blocks with the specified property name/property 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.

    For information about subsystem property names and values, in Block-Specific Parameters, see the "Ports & Subsystems Library Block Parameters" section.

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: Inserts the object type automatically into the section title in the generated report.

  • Number sections by system hierarchy: Hierarchically numbers sections in the generated report. Requires that Sort Systems be set to By traversal order.

  • Create link anchor for each object in loop: Creates a hyperlink to the 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_sl.csl_sys_loop

Was this topic helpful?