Main Content

Requirements System Loop

Apply child components to systems with requirements

Description

This component applies its child components to systems with associated requirements.

Report On

  • Loop on systems

    • Select systems automatically: If selected, this option reports on all systems in the current context. The parent of the component determines the context of this setting:

      • Model Loop: Reports on systems in the current model.

      • System Loop: Reports on the current system.

      • Signal Loop: Reports on the parent system of the current signal.

      • Block Loop: Reports on the parent system of the current block.

      If the Requirement System Loop does not have any of these components as its parent, selecting this option reports on all systems with requirements in all models.

    • Custom - use system list: Reports on a list of specified systems. Enter the full path of each system.

Loop Options

  • Sort Systems:

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

    • By number of blocks in system: Sorts systems by the number of blocks in the system. The list displays systems by decreasing number of blocks; 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 the traversal 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)

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. This is only available when Create section for each object in loop is selected.

  • Create link anchor for each object in loop: Create a link target on each object in the loop so that other parts of the report can link to it.

Insert Anything into Report?

Yes, inserts a section if you select Create section for each object in loop and a link target if you select Create link anchor for each object in loop.

Class

RptgenRMI.CSystemLoop