MATLAB Report Generator | ![]() ![]() |
Category
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.
Note To view a component attribute page in the Setup File Editor, select the component in the setup file outline on the left and click on the Options tab. If the component is not in the setup file outline, you must add it to the outline first. See Building and Editing the Setup File for a discussion on how to add a component to the outline. |
Report On
This frame describes what the Block Loop component is operating on.
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.
%<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.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>
Z
in the workspace as the followingZ={`simppend/theta'}
simppend/theta dot
simppend/theta
Loop Options
You can choose block sorting options and reporting options in this frame.
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.
\<string\>
. See find_system
for more information on regular expressions.Insert anything into report?
Filename
![]() | Block Execution Order | Block Property Table | ![]() |