MATLAB Report Generator    
Chart Loop

Component

Chart Loop

Category

Stateflow

Description

The Chart Loop component runs its children for each Stateflow chart that you choose. The Chart Loop component can have either the Model Loop, System Loop, Signal Loop or Block Loop component as its parent. The Chart Loop cannot have any Stateflow component as its parents.

Note that Stateflow objects that have already been reported on (by another loop) will not be reported again.

Attributes

This is the Chart Loop attribute page.

Report On

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

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

If the parent component is the System Loop, then selecting this option causes the Chart Loop component to report on all Stateflow charts in the current system.

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

If the parent component is the Block Loop, then selecting this option causes the Chart Loop component to report on the current Simulink block if it is a Stateflow chart.

If the Chart Loop does not have the Model Loop, System Loop, Signal Loop, or Block Loop component as its parent, then selecting this option causes the Chart Loop component to report on all Stateflow charts.

Manual - use chart list:
Select this option to report on a list of Stateflow charts that you specify, and enter the chart names in the corresponding field. If you want to sort the charts in this list, select the Sort charts in list option and then select a sorting option from the Sort charts option (in the Loop Options section). Charts are reported on in the order that they are sorted. If you do not select this option, charts are reported on in the order that they are listed in the chart 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 and the Manual - use block list section in the Simulink Block Loop reference page for an example.

Loop Options

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

Sort charts

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 chart list and the Sort charts option):

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

Select Alphabetically by system name to sort systems alphabetically by name.

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

Select Alphabetically by full Simulink path to sort models alphabetically by their full path name.

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 Stateflow:
Select this option to report only on Stateflow charts 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 read as a regular expression unless you enter a number, which will be treated as a numeric value. 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 read as a string.
Search Simulink:
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

csf_chart_loop


  Stateflow Components Stateflow Linking Anchor