Timer
Purpose
Generate a piece-wise constant signal.
Library
Extras/Control Blocks
Description
The Timer block generates a signal that changes at discrete instants and is
otherwise constant. You can use the Timer block e.g. in order to control
switches such as circuit breakers.
Note This block is only available for Matlab 7.0 or
newer.
Parameters and Dialog Box
-
Time values
- A vector containing the transition times. This vector must have the
same length as the vector of output values. Before the first transition time the
output is zero.
-
Output values
- A vector containing the output values corresponding to the
transition times. This vector must have the same length as the vector of time
values.