| Contents | Index |
Sources
The Repeating Sequence Stair block outputs and repeats a stair sequence that you specify with the Vector of output values parameter. For example, you can specify the vector as [3 1 2 4 1]', which produces the following stair sequence:

The Repeating Sequence Stair block outputs signals of the following data types:
Floating point
Built-in integer
Fixed point
Boolean
Enumerated
For more information, see Data Types Supported by Simulink in the Simulink documentation.
The Main pane of the Repeating Sequence Stair block dialog box appears as follows:

Specify the vector containing values of the repeating stair sequence.
Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See How to Specify the Sample Time for more information.
The Signal Attributes pane of the Repeating Sequence Stair block dialog box appears as follows:

Specify the minimum value that the block should output. The default value is [] (unspecified). Simulink software uses this value to perform:
Parameter range checking (see Checking Parameter Values)
Simulation range checking (see Signal Ranges)
Automatic scaling of fixed-point data types
Specify the maximum value that the block should output. The default value is [] (unspecified). Simulink software uses this value to perform:
Parameter range checking (see Checking Parameter Values)
Simulation range checking (see Signal Ranges)
Automatic scaling of fixed-point data types
Specify the output data type. You can set it to:
A rule that inherits a data type, for example, Inherit: Inherit via back propagation
The name of a built-in data type, for example, single
The name of a data type object, for example, a Simulink.NumericType object
An expression that evaluates to a data type, for example, fixdt(1,16,0)
Click the Show data type assistant button
to display the Data
Type Assistant, which helps you set the Output
data type parameter.
See Specifying Block Output Data Types for more information.
Select to lock the output data type setting of this block against changes by the Fixed-Point Tool and the Fixed-Point Advisor. For more information, see Fixed-Point Tool and Fixed-Point Advisor in the Simulink Fixed Point documentation.
Sample Time | Specified in the Sample time parameter |
Scalar Expansion | No |
Zero-Crossing Detection | No |
Repeating Sequence, Repeating Sequence Interpolated

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 |