Editing compound block properties

You make changes to the properties of a compound block through its Properties dialog box. If Display Mode is active, you cannot access the Compound Properties dialog box using the CTRL+right-click method.

To access a Compound Properties dialog box

      CTRL+right-click the compound block, or choose Edit > Block Properties and click the compound block.

Allow Interrupt Handler Preemption: Preempts the interrupt for higher priority interrupts.

Appearance:  Applies a color or picture to a compound block.

Code Gen as Separate Thread: Causes the contents of the compound block to be executed in a preemptible background thread. It is for operations that are not as time critical as the main control loop. This parameter is available only if for Embed or Embed Basic.

Compound Name: Indicates the name of the compound block. If you want to change the name, avoid using the dot (.) character in the name; it is used to separate compound block names in the title bar.

Contained Block Count: Indicates the number of blocks in the compound block.

Contained Computational Blocks: Indicates the number of computational blocks in the compound block, when the compound block is triggered.

Copy FLASH function to RAM: Copies the FLASH function to RAM. On many embedded parts, code runs faster in RAM. If you are not generating code, there is no reason to activate this parameter.

Create buttons for contained compound Dialogs: Provides a mechanism to logically group and display user-defined parameter values in a compound block.

Create Dialog From Contained Dialog Constants: Manages user-defined parameter values in a compound block. When activated, the Create Dialog From Contained Dialog Constants also allows you to use buttons in your dialog boxes.

Do not pause simulation when Dialog pops up: Allows the simulation to continue if there are pop-up dialog boxes. This is particularly useful for real-time HIL simulations.

 Do not Snap To Grid Locally: Overrides the Snap to Grid parameter in Edit > Preferences. When Do Not Snap to Grid Locally is activated, the blocks on the next lower level of the compound block do not automatically align to an invisible grid when you add or move them. To override automatic alignment of the top level compound block, use the Do Not Snap To Grid On The Top Level parameter in Edit > Preferences.

Enabled Execution: Conditionally executes the compound block.

Execute on Interrupt: Causes all blocks inside the compound block to be executed when the interrupt occurs. The interrupts correspond to hardware interrupts on the selected target. This parameter is available only if you are running Embed or Embed Basic.

If you want to preempt the interrupt for higher priority interrupts, activate Allow Interrupt Handler Preemption.

Hide in Display Mode: Hides the block when Display Mode is activated.

Local Time Step: Specifies the time step for the subsystem. When Local Time Step is activated, you can enter the time step in the corresponding text box. Together, Local Time Step and Use Local Bounds provide additional control over multi-rate simulation.

Protection: Applies protection to the block.

Use Local Bounds: Performs multiple iterations at each time step. Specify the simulation start and end time as a number or variable. Together, Local Time Step and Use Local Bounds perform additional control over multi-rate simulation

Use Implicit Solver: Activates the Implicit Solver for the compound block.