Engee documentation

Ramp

A linearly increasing or decreasing signal generator.

blockType: Ramp

Path in the library:

/Basic/Sources/Ramp

Description

Block Ramp generates a signal that starts at a specified time with a preset value and changes at a preset rate. Parameters Slope, Start time and Initial Output determine the characteristics of the output signal. They should all have the same dimension (after scalar expansion).

Ports

Output

# OUT_1 — output signal
scalar | vector | matrix

Details

Output signal defined by parameters Slope, Start time and Initial Output.

Data types

Float64.

Complex numbers support

No

Parameters

Main

# Slope — signal slope
Scalar / array of real numbers

Details

The rate of change of the generated signal.

Default value

1.0

Program usage name

slope

Tunable

Yes

Evaluatable

Yes

# Start time — signal change onset
Scalar / array of real numbers

Details

Sets the time at which the unit starts generating the changing signal.

Default value

0.0

Program usage name

start

Tunable

Yes

Evaluatable

Yes

# Initial Output — initial value of the output signal
Scalar / array of real numbers

Details

The initial value of the output signal.

Default value

0.0

Program usage name

InitialOutput

Tunable

Yes

Evaluatable

Yes

Additional options

C code generation: Yes