Bus Selector - Select signals from incoming bus

Library

Signal Routing

Description

The Bus Selector block outputs a specified subset of the elements of the bus at its input. The block can output the selected elements as multiple standalone signals or as elements of a new bus. When selecting elements from the bus, each element is output from a separate port from top to bottom on the block. (See Changing the Orientation of a Blockin the Simulink® documentation for a description of the port order for various block orientations.)

Data Type Support

A Bus Selector block accepts and outputs real or complex values of any data type supported by Simulink software, including fixed-point data types.

For a discussion on the data types supported by Simulink software, see Data Types Supported by Simulink®.

Parameters and Dialog Box

Signals in the bus

The Signals in the bus list shows the signals in the input bus. Use the Select>> button to select output signals. To find the source of any signal entering the block, select the signal in the Signals in the bus list and click the adjacent Find button. Simulink software opens the subsystem containing the signal source, if necessary, and highlights the source's icon. To refresh the display (e.g., to reflect modifications to the bus connected to the block), click the adjacent Refresh button.

Selected signals

The Selected signals list box shows the output signals. You can order the signals by using the Up, Down, and Remove buttons. Port connectivity is maintained when the signal order is changed.

If an output signal listed in the Selected signals list box is not an input to the Bus Selector block, the signal name is preceded by three question marks (???).

Output as bus

If selected, this option causes the block to output the selected elements as a bus. Otherwise, the block outputs the elements as standalone signals, each from its own output port and labeled with the corresponding element's name.

Characteristics

Multidimensionalized

Yes

  


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