Documentation

Requirements Block Loop

Apply child components to blocks with requirements

Description

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

Report On

  • Automatic list from context: If selected, this option reports on all blocks in the current context. The parent of the Requirements Block Loop component determines its context.

    • Model Loop: Reports on all blocks with requirements in the current model.

    • System Loop: Reports on all blocks with requirements in the current system.

    • Signal Loop: Reports on all blocks with requirements connected to the current signal.

    If the Requirements Block Loop does not have the Model Loop, System Loop, Signal Loop, or Block Loop component as its parent, it reports on all blocks in all models.

  • Custom - use block list: Reports on a list of blocks with specified requirements. Enter the full paths of each block into this field.

Loop Options

  • Sort blocks

    Specify 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 and subsystems alphabetically by name. (Blocks in each system do not appear in alphabetical 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 on Simulink blocks with specified property name/property value pairs that have associated requirements.

Section Options

  • Create section for each object in loop: Inserts a section in the generated report for each block found in the loop that has associated requirements.

  • Display the object type in the section title: Inserts the object type automatically into the section title in the generated report.

  • Create link anchor for each object in loop: Create a link target for each requirement 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.CBlockLoop

Was this topic helpful?