Output
An Output sends a diagram value back to the enclosing model’s caller.
Behavior
Section titled “Behavior”model_output[index][n] = u[n]. The block forwards the current value without
changing it or adding a delay. index is the zero-based position in the model’s
output signature.
| Direction | Type | Meaning |
|---|---|---|
| Input | ty |
Value to return from the model. |
| Output | None | No outgoing diagram connection. |
Parameters
Section titled “Parameters”| Parameter | Type | Default | Meaning |
|---|---|---|---|
index |
Integer index | 0 |
Position in the model’s outputs. |
ty |
Signal type | f64 |
Type of the model output, including arrays or composites. |
Example
Section titled “Example”For a model with one output command: f64, connect a Gain to Output index 0.
When the Gain produces 6.0, the model returns command = 6.0 on that tick.