| Contents | Index |
Sources
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, and Initial output parameters determine the characteristics of the output signal. All must have the same dimensions after scalar expansion.
The Ramp block outputs signals of type double. For more information, see Data Types Supported by Simulink in the Simulink documentation.

Specify the rate of change of the generated signal. The default is 1.
Specify the time at which the block begins generating the signal. The default is 0.
Specify the initial value of the output signal. The default is 0.
If you select this option 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. See Determining the Output Dimensions of Source Blocks in the Simulink documentation.
The following Simulink demos show how to use the Ramp block:
Sample Time | Inherited from driven block |
Scalar Expansion | Yes |
Dimensionalized | Yes |
Zero-Crossing Detection | Yes |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |