MATLAB Report Generator    
Block Loop

Component

Block Loop

Category

Simulink

Description

The Block Loop component runs its subcomponents for each block contained in the current system, model, or signal.

Attributes

This is the Block Loop attribute page.

Report On

This frame describes what the Block Loop component is operating on.

Auto - ___________
Select this option to report on all blocks in the current context. The context is set by the Block Loop component's parent component:

If the parent component is the Model Loop, then selecting this option causes the Block Loop component to report on all reported blocks in the current model.

If the parent component is another System Loop, then selecting this option causes the Block Loop component to report on all blocks in the current system. 

If the parent component is the Signal Loop, then selecting this option causes the Block Loop component to report on all blocks connected to the current signal.

If the parent component is the  , then selecting this option causes the Block Loop component to report on the current block.

If the Block Loop does not have either the Model Loop, System Loop, Signal Loop or Block Loop component as its parent, then selecting this option causes the Block Loop component to report on all blocks in all models.

Manual - use block list:
Select this option to report on a list of blocks that you specify and enter the block names in the corresponding field. You must use the full pathname when specifying blocks. If you want to sort the blocks in this list, select the Sort blocks in list option and then select a sorting option from the Sort blocks option (in the Loop Options section). Blocks are reported on in the order that they are sorted. If you do not select this option, blocks are reported on in the order that they are listed in the block list.
You can enter %<VariableName> if you want to insert the value of a variable from the MATLAB workspace. The %<> notation can be a string or cell array. Please see %<VariableName> Notation in the Text component reference page for more details.
For example, if you want to report on the theta dot integrator block and the theta integrator block in the demo model "simppend", you could enter the following in the block list.
simppend/theta dot
%<Z>
If you define Z in the workspace as the following
Z={`simppend/theta'}
then the Report Generator will report on the following blocks.
simppend/theta dot
simppend/theta

Loop Options

You can choose block sorting options and reporting options in this frame.

Sort blocks

Use this option to select how the blocks are sorted (this option is available if you select the Auto - _________ option in the Report On section or if you select Manual - use block list and the Sort blocks option):

Select Alphabetically by block name to sort blocks alphabetically by their names.

Select Alphabetically by system name to sort systems alphabetically.

In this option, the systems are sorted alphabetically, and blocks in each system are listed, but in no particular order.

Select By block type to sort blocks alphabetically by block type.

Select By depth to sort blocks by their depth in the model.

Select By simulation order to sort blocks by execution order.

Search for property name/property value pairs
Select this option to report only on Simulink blocks with certain property name/property value pairs. Enter the property name and the property value in the appropriate fields.
If you have MATLAB 6.0 or later, the Property value field is always read as a regular expression. Therefore, if you want to have an exact string match, you must enter the string in this way: \<string\>. See find_system for more information on regular expressions.
If you have an earlier release of MATLAB, the Property value field is always read as a string.

Insert anything into report?

No.

Filename

csl_blk_loop


  Block Execution Order Block Property Table