Step

| Vectorized | C |
in the palette on the schematic

The block forms the value of the output signal calculated by the following algorithm:

where: t0 – triggering time, y0 – initial value, y1 – final value, t – current model time in seconds.

Inputs

none

Outputs

  • output - the port for the output signal.

Properties:

  • Triggering time - t0;
  • Initial state - y0;
  • Final state - y1.
Properties can be vectors t0 = [t01,t02,...t0n], y0 = [y01,y02,...y0n] and y1 = [y11,y12,...y1n], the dimensions of which must be the same, in which case the output will also be a vector:

Parameters

none

Прим.:
  1. By default, the block generates a scalar output signal.
  2. Named properties can be set as local model variables (submodels) in a programming language script, as global project signals using the Tools → Signals main menu item, or as external project signals using an attachable signal database.