Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

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 specified elements as separate signals or as a new bus. See Using Composite Signals for information about buses.

When the block outputs separate elements, it outputs each element from a separate port from top to bottom of the block. See How to Rotate a Block for a description of the port order for various block orientations. See Using Composite Signals for information about buses.

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 and enumerated 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

Shows the signals in the input bus.

Settings

To refresh the display to reflect modifications to the bus connected to the block, click Refresh.

Tips

Command-Line Information

See Block-Specific Parameters for the command-line information.

Selected signals

Shows the signals to be output.

Settings

Default: signal1,signal2

You can change the list by using the Up, Down, and Remove buttons.

Tips

Command-Line Information

See Block-Specific Parameters for the command-line information.

Output as bus

Output the selected elements as a bus.

Settings

Default: Off

On

Output the selected elements as a bus.

Off

Output the selected elements as standalone signals, each from an output port that is labeled with the corresponding element's name.

Tips

The output bus is virtual if the input bus is virtual, or nonvirtual if the input bus is nonvirtual.

Command-Line Information

See Block-Specific Parameters for the command-line information.

Characteristics

Multidimensionalized

Yes

Virtual

Yes, if the input bus is virtual

For more information, see Virtual Blocks in the Simulink documentation.

See Also

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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