Extractor

Extract scalar signal out of signal vector dependent on IntegerRealInput index

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This block extracts a scalar output signal out the vector of input signals dependent on the Integer value of the additional u index:

    y = u [ index ] ;

where index is an additional Integer input signal.

Parameters (3)

nin

Value: 1

Type: Integer

Description: Number of inputs

allowOutOfRange

Value: false

Type: Boolean

Description: Index may be out of range

outOfRangeValue

Value: 1e10

Type: Real

Description: Output signal if index is out of range

Connectors (3)

u

Type: RealInput[nin]

Description: Connector of Real input signals

y

Type: RealOutput

Description: Connector of Real output signal

index

Type: IntegerInput