EventDelayChannel

This block implements an event channel. The event timing is specified by the value on the first input port of the block. This value corresponds to delay after which the event is to be fired. The value associated with the event is read on the second input and placed on the output when the block is activated through its second input activation port.

    EventDelayChannel

Library

Activate/Buffers

Description

The EventDelayChannel block implements an event channel. A value may be associated to each event. The event timing is specified by the value on the first block input port. This value corresponds to delay after which the event is to be fired. A negative delay clears the channel.

The value associated with the event is read on the second input and placed on the output when the block is activated through its second input activation port. This port should be connected to its output activation port.

Parameters

EventDelayChannel_0

NameLabelDescriptionData TypeValid Values

Times

Times of initial events

The time of initial events before any delay happens.

Matrix of size 1xN

initial_values

Initial values corresponding to initial events, column concatenated into a single matrix

Initial values corresponding to initial events. Concatenated in a single matrix where each column represents the initial values at given events.

Matrix

N

Channel size

The size of channel indicates how many events are kept before delay is done on earliest event, default is 1000.

Scalar

Ports

NameTypeDescriptionIO TypeNumber

τ

explicit

input

1

Port 2

explicit

input

2

Port 3

explicit

The delayed data, which is copied from second input.

output

1

connect to c

activation

output

1

in

activation

input

1

c

activation

input

2

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

no

depends on block parameters

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

yes

See Also

<