packageEvents

Events blocks

Contents

NameDescription
RisingEdgeOutput y is true, if the input u has a rising edge (u becomes true), otherwise it is false
RisingEdge4Output y is true, if the input u has a rising edge (u becomes true), otherwise it is false
FallingEdgeOutput y is true, if the input u has a falling edge (u becomes false), otherwise it is false
FallingEdge4Output y is true, if the input u has a falling edge (u becomes false), otherwise it is false
ChangingEdgeOutput y is true, if the input u has either a rising (becomes true) or a falling edge (becomes false), otherwise it is false
ChangingEdge4Output y is true, if the input u has either a rising (becomes true) or a falling edge (becomes false), otherwise it is false
BeforeReturns true if event on u1 occurs before event on u2
ElapsedTimeElapsed time u2 - u1 time between events u1 and u2
Event3ToEvent
Event4ToEvent
EventCounterCounts events on input u
EventDelayEvent delay
EventClockedDelayBoolean signal clocked delay
EventFilterFilters events depending on condition
EventPeriodicGenerate periodic events
EventProjectionEvent projection on a clock
EventTableTable for events
InitialGenerate an event at initial time
TimeFromContinuous physical time from an event
ClockEventGenerates a clock signal when the Boolean input changes from false to true
ClockTickGenerates an event when the integer input changes
ClockToBooleanTransform clock to clocked Boolean (output is true if clock is active)
ShowEventEvent visualizer