Signal\Events
Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.
This is the block implementation of the frequencyevent function. The output signal is a boolean which is true (1) every time when p [s] have passed. The function starts after an offset of o [s]. The offset parameter is optional.
output = frequencyevent(p,o);
The output of the frequencyevent block with a period of 1 s and an offset of 2 s.
Outputs |
Description |
output |
event signal (boolean) |
Parameters |
|
period offset |
period in [s] offset in [s] |