| Simulink® | ![]() |
Sources

The Repeating Sequence Stair block outputs and repeats a discrete time sequence.
You can specify the stair sequence with the Vector of output values parameter. For example, the vector can be specified as [3 1 2 4 1]', producing the stair sequence shown in the plot.

The Repeating Sequence Stair block accepts signals of any data type supported by Simulink® software, including fixed-point data types.
The Main pane of the Repeating Sequence Stair block dialog appears as follows:

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 Specifying Sample Time in the online documentation for more information.
The Signal Attributes pane of the Repeating Sequence Stair block dialog appears as follows:

Specify the minimum value that the block should output. The default value, [], is equivalent to -Inf. Simulink software uses this value to perform:
Parameter range checking (see Checking Parameter Values)
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Specify the maximum value that the block should output. The default value, [], is equivalent to Inf. Simulink software uses this value to perform:
Parameter range checking (see Checking Parameter Values)
Simulation range checking (see Checking 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, float('single')
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 scaling of outputs. This parameter is visible only if you enter an expression for the Output data type parameter.
Sample Time | Specified in the Sample time parameter |
Scalar Expansion | No |
Repeating Sequence, Repeating Sequence Interpolated
![]() | Repeating Sequence Interpolated | Reshape | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |