Step
Step function generator.
blockType: Step
Path in the library:
|
Description
The Step block provides a signal change between two specified levels at a specified time. If the simulation time is less than the value of the parameter Step time, the block output is equal to the value of the parameter Initial value. For a simulation time greater than or equal to Step time, the output is equal to the value of the parameter Final value.
Ports
Output
#
OUT_1
—
output signal
scalar
| vector
Details
Output signal of the function Step*defined by parameters *Step time, Initial value и Final value.
Data types |
|
Complex numbers support |
No |
Parameters
Main
#
Initial value —
output value before the step
Scalar / array of real and/or complex numbers
Details
Block output if the simulation time is less than the parameter value Step time.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Final value —
output value after a step
Scalar / array of real and/or complex numbers
Details
Block output when the simulation time is greater than or equal to the parameter value Step time.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Step time —
stride time
Scalar / array of real numbers
Details
Time in seconds when the output goes from the parameters value Initial value to a parameter Final value.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Sample time —
interval between calculation steps
SampleTime (real number / vector of two real numbers)
Details
Specify the interval between calculation steps as a non-negative number. To inherit a calculation step, set this parameters to -1
.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |