Dynamic Signal Selector

Purpose

Select or reorder elements from vectorized signal depending on control signal.

Library

System

Description

../../_images/dynamicsignalselector.svg

The block generates an output vector signal that consists of the specified elements of the input vector signal. The elements can be dynamically selected with the control input.

See also the Signal Selector block.

Parameters

Default index

The default element if the control signal is out of range.

Indexing

Choose whether the elements from the input vector are selected using 0-based or 1-based indexing.

Probe Signals

Input

The block input signal.

Output

The block output signal.

Switch position

The state of the switch position. This is the control signal or, in case the control signal is out of range, the default index.

Out of range

A boolean value that is true if the control input is out of range.