blockAddToIndex

Add one scalar input to specified index of other (vector) input

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Integern1Dimension of input and output vectors.
Integeri1Index to which u2 is added

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[n]u1Connector of Real input signals vector
Modelica.Blocks.Interfaces.RealInputu2Connector of Real scalar input signal
Modelica.Blocks.Interfaces.RealOutput[n]yConnector of Real output signals

Components

TypeNameDefaultDescription
Real[n,n]u2_matrix