Skip to content

Input

An Input brings a value from the enclosing model’s caller into its diagram.

y[n] = model_input[index][n]. The block forwards the current value without changing it or adding a delay. index is the zero-based position in the model’s input signature.

Direction Type Meaning
Input None No incoming diagram connection.
Output ty The corresponding model input.
Parameter Type Default Meaning
index Integer index 0 Position in the model’s inputs.
ty Signal type f64 Type of the model input, including arrays or composites.

A model has inputs target: f64 and measured: f64. Input index 1 exposes measured: when the caller supplies measured = 4.5, the block outputs 4.5.