| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
Signal Routing
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.
Note Simulink software hides the name of a Bus Selector block when you copy it from the Simulink library to a model. |
Caution The MathWorks recommends not using Bus Selector blocks in library blocks, because such use complicates changing the library blocks and increases the likelihood of errors. See Buses and Libraries for more information. |
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.

Shows the signals in the input bus.
To refresh the display to reflect modifications to the bus connected to the block, click Refresh.
Use Select>> to select signals to output.
To find the source of any signal entering the block, select the signal in the list and click Find. The Simulink software opens the subsystem containing the signal source, and highlights the source's icon.
See Block-Specific Parameters for the command-line information.
Shows the signals to be output.
Default: signal1,signal2
You can change the list 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 (???).
See Block-Specific Parameters for the command-line information.
Output the selected elements as a bus.
Default: Off
Output the selected elements as a bus.
Output the selected elements as standalone signals, each from an output port that is labeled with the corresponding element's name.
The output bus is virtual if the input bus is virtual, or nonvirtual if the input bus is nonvirtual.
See Block-Specific Parameters for the command-line information.
Multidimensionalized | Yes |
Virtual | Yes, if the input bus is virtual For more information, see Virtual Blocks in the Simulink documentation. |
![]() | Bus Creator | Bus to Vector | ![]() |

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 |