blockExtractor
Extract scalar signal out of signal vector dependent on IntegerRealInput index
Extends from Modelica.ComplexBlocks.Interfaces.ComplexMISO (Multiple Input Single Output continuous control block).
Information
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin (from ComplexMISO) | 1 | Number of inputs |
| Boolean[nin] | useConjugateInput (from ComplexMISO) | fill(false, nin) | If true, inputs are processed conjugate complex |
| Boolean | allowOutOfRange | false | Index may be out of range |
| Complex | outOfRangeValue | Complex(1e10, 0) | Output signal if index is out of range |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ComplexInput[nin] | u (from ComplexMISO) | Connector of Complex input signals | |
| ComplexOutput | y (from ComplexMISO) | Connector of Complex output signal | |
| Modelica.Blocks.Interfaces.IntegerInput | index |