| Contents | Index |
Sources
The Step block provides a step between two definable levels at a specified time. If the simulation time is less than the Step time parameter value, the block's output is the Initial value parameter value. For simulation time greater than or equal to the Step time, the output is the Final value parameter value.
The numeric block parameters must be of the same dimensions after scalar expansion. If the Interpret vector parameters as 1-D option is off, the block outputs a signal of the same dimensions and dimensionality as the parameters. If the Interpret vector parameters as 1-D option is on and the numeric parameters are row or column vectors (that is, single row or column 2-D arrays), the block outputs a vector (1-D array) signal. Otherwise, the block outputs a signal of the same dimensionality and dimensions as the parameters.
The Step block outputs real signals of type double.
For more information, see Data Types Supported by Simulink in the Simulink documentation.

Specify the time, in seconds, when the output jumps from the Initial value parameter to the Final value parameter. The default is 1 second.
Specify the block output until the simulation time reaches the Step time parameter. The default is 0.
Specify the block output when the simulation time reaches and exceeds the Step time parameter. The default is 1.
Specify the sample rate of step. See How to Specify the Sample Time in the online documentation for more information.
If selected, column or row matrix values for the Step block's numeric parameters result in a vector output signal; otherwise, the block outputs a signal of the same dimensionality as the parameters. If this option is not selected, the block always outputs a signal of the same dimensionality as the block's numeric parameters. See Determining the Output Dimensions of Source Blocks in the Simulink documentation.
Select to enable zero-crossing detection. For more information, see Zero-Crossing Detection.
The following Simulink demos show how to use the Step block:
Sample Time | Specified in the Sample time parameter |
Scalar Expansion | Yes, of parameters |
Dimensionalized | Yes |
Zero-Crossing Detection | Yes, if enabled. |

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 |