| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
Sources
The Repeating Sequence block outputs a periodic scalar signal having a waveform that you specify. You can specify any waveform, using the Time values and Output values parameters. The Time values parameter specifies a vector of sample times. The Output values parameter specifies a vector of signal amplitudes at the corresponding sample times. Together, the two parameters specify a sampling of the output waveform at points measured from the beginning of the interval over which the waveform repeats (the period of the signal). By default, the Time values and Output values parameters are both set to [0 2]. This default setting specifies a sawtooth waveform that repeats every 2 seconds from the start of the simulation and has a maximum amplitude of 2. The Repeating Sequence block uses linear interpolation to compute the value of the waveform between the sample points you specify.
The Repeating Sequence block outputs real signals of type double.

Opening this dialog box causes a running simulation to pause. See Changing Source Block Parameters During Simulation in the Simulink documentation for details.
A vector of monotonically increasing time values. The default is [0 2].
A vector of output values. Each element corresponds to the time value in the same column. The default is [0 2].
Sample Time | Continuous |
Scalar Expansion | No |
Dimensionalized | No |
Zero-Crossing Detection | No |
Repeating Sequence Interpolated, Repeating Sequence Stair
![]() | Relay | Repeating Sequence Interpolated | ![]() |

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