Report Generator    
Fixed-Point Block Loop

Component

Fixed-Point Block Loop

Category

Fixed-Point

Description

The Fixed-Point Block Loop component runs its children for the Simulink model, system, or signal defined by its parent component. For example, if the Fixed-Point Block Loop is parented by the Simulink Model Loop, it will run its children for all fixed-point blocks in the Simulink model. The Fixed-Point Block Loop component may have either the Simulink Model Loop, System Loop, or Signal Loop component as its parent.

Attributes

This is the Fixed-Point Block Loop attribute page.

Report On

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

Auto - Fixed-Point blocks in ______
Select this option to report on all fixed-point blocks in the current context. The context is set by the Fixed-Point Block Loop component's parent component. For example, if the parent component is the Simulink System Loop, then this component will report on all fixed-point blocks in the current system.
If the Fixed-Point Block Loop component does not have either the Simulink Model Loop, System Loop, Block Loop, or Signal Loop component as its parent, then selecting this option causes the component to report on all fixed-point 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. 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 A2D block and the D2A block in the demo model "fxpdemo_feedback", you could enter the following in the block list.
A2D
Z
If you define Z in the workspace as the following.
Z={`fxpdemo_feedback/D2A'}
then the Report Generator will report on the following blocks.
A2D
D2A

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 - Fixed-Point blocks in ______ option in the Report On section or if you select Manual - use block list and the Sort blocks option):

Select Alphabetically by fixed-point 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 fixed-point block type to sort blocks alphabetically by block type.

Select By fixed-point block depth to sort blocks by their depth in the model.

Select By simulation order (req RTW) to sort blocks by execution order. This option requires Real-Time Workshop; if you do not have Real-Time Workshop, this option will not appear in the attribute page.

Report on
Use this option to select which blocks are reported on.

Select Logged fixed-point blocks only to report on logged fixed-point blocks (dolog='on').

To see if a fixed-point block is logged, double click on the block to open the Block Parameters dialog box. If the Log minimums and maximums check box is selected, then the fixed-point block is logged, i.e., minimum and maximum simulation values are logged to the workspace. See the Fixed-Point Blockset documentation for more information about overriding with doubles.

Select Unlogged fixed-point blocks only to report on unlogged fixed-point blocks that have (dolog='off').

Select All fixed-point blocks (logged or unlogged) to report on all fixed-point blocks, regardless of whether they are logged.

Search for property name/property value pairs
Select this option to report only on fixed-point blocks with certain property name/property value pairs. Enter the property name and the property value in the appropriate fields.
If you have Release 12 or greater of MATLAB, 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

cfp_blk_loop

Fixed Point Logging Options

Fixed-Point Logging Options

Component

Fixed-Point Logging Options

Category

Fixed-Point

Description

The Fixed-Point Logging Options component sets fixed-point options similar to those set in the Fixed-Point Blockset Interface GUI. You can set the following options with this component:

You can use this component before a Model Simulation component in order to control how the model behaves during simulation.

Attributes

This is the Fixed-Point Logging Options attribute page.

Log Min & Max

You can select logging minimum and maximum options in this section. If a fixed-point block is logged, minimum and maximum simulation values are logged to the workspace. See the Fixed-Point Blockset documentation for more information about logging simulation results.

All fixed-point blocks
Select this option to log all fixed-point blocks.
No logging
Select this options if you do not want to any fixed-point block to be logged.
Use block "dolog" parameter
Select this option to use the fixed-point blocks' dolog parameters.

Doubles Override

You can select whether you want to override the fixed-point blocks' parameters and output data types with doubles, i.e, represent the parameters and outputs using double precision floating-point numbers and perform all calculations with floating point arithmetic. See the Fixed-Point Blockset documentation for more information about overriding with doubles.

All fixed-point blocks
Select this option to override the output data type with doubles.
No doubles
Select this option to have no output data types that are doubles.
Use block "DblOver" parameter
Select this option to use the fixed-point blocks' DblOver parameters.

Log Mode

Select how you want logs to be recorded in this section.

Override log
Select this option if you want all simulation logs to overwrite the previous simulation logs.
Merge log
Select this option if you want to append all simulation logs to the previous simulation logs.

Insert anything into report?

No.

Filename

cfp_options


 Fixed-Point Components Fixed-Point Property Table