Simulink Reference | ![]() ![]() |
Generate constantly increasing or decreasing signal
Library
Description
The Ramp block generates a signal that starts at a specified time and value and changes by a specified rate. The block's Slope, Start time, Duty Cycle, and Initial output parameters determine the characteristics of the output signal. All must have the same dimensions after scalar expansion.
Data Type Support
A Ramp block outputs signals of type double
.
Parameters and Dialog Box
1
.0
.0
.If this option is selected and the other parameters are one-row or one-column matrices, after scalar expansion, the block outputs a 1-D signal (vector). Otherwise, the output dimensionality is the same as that of the other parameters.
Characteristics
Sample Time |
Inherited from driven block |
Scalar Expansion |
Yes |
Dimensionalized |
Yes |
Zero Crossing |
Yes |
![]() | Quantizer | Random Number | ![]() |