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 are initially drawn with both an inport and an outport, but Simulink removes unused ports when the simulation starts running or when you 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.

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

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 appropriate property name. See Summary of ActiveX Control Block Parameters for information about the other fields and check boxes. You can also use the Help button to find out about other parameters.


Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS