Connecting Blocks in a Model

Before you connect a Gauges Blockset™ block with other blocks, you should know whether it is meant to be an output device (with an input connection), or a pass-through device (with an input and output connection). Gauges Blockset blocks cannot serve as input devices (with only an output connection). Gauges Blockset blocks initially appear with both an inport and an outport, but unused ports disappear when you start the simulation or update the block diagram.

To determine whether a Gauges Blockset block is meant to be used as an output or pass-through device, right-click the block and select the Block Parameters option.

    Note:   If you customized the generic ActiveX® Control block to accommodate your own control, then another way to display the custom block's Block Parameters dialog box is to double-click the border of the block.

In the Block Parameters dialog box, the Connections field determines the type of connection the block currently uses:

  • Input indicates that the block is a sink; that is, it has an inport and receives a signal. The Input property parameter indicates the block's property whose value is changed by the input.

  • Both indicates that the block has an inport and an outport. The values at both ports are the same. That is, the block becomes a unity function.

  • Neither indicates that the block has neither an inport nor an outport.

To specify a connection different from the block's default setup, change the block's Connection setting and make sure that the Input property field is filled in with the required property name. See Block Parameters for the ActiveX Control Block for information about the other fields and check boxes. You can also use the Help button to find out about other parameters.

Was this topic helpful?