SampleClock

This block generates a periodic activation signal. Periodic activation signals are special because they are made up of events that occur at regular intervals of time. Note that an activation signal made of up of events at regular intervals of time is not necessarily a periodic activation signal. For example the activation signal produced by the EventClock is not periodic. All periodic activation signals under the same SyncTag are considered synchronous.

    SampleClock

Library

Activate/ActivationOperations

Description

The SampleClock block generates a periodic activation signal. Periodic activation signals are special because they are made up of events that occur at regular intervals of time. Note that an activation signal made of up of events at regular intervals of time is not necessarily a periodic activation signal. For example the activation signal produced by the EventClock is not periodic. All periodic activation signals under the same SyncTag are considered synchronous.

When period is 0, blocks connected to the clock are always active.

When period is -1, blocks connected to the clock are activated at initial time.

When period or offset are given as a vector [x;y;z], they are evaluated as (x/y)*10^(z).

Parameters

SampleClock_0

NameLabelDescriptionData TypeValid Values

frequ

Sample period

Period that will trigger the activation.

Vector

offset

Offset

Initial time offset.

Vector

Ports

NameTypeDescriptionIO TypeNumber

Port 1

activation

output

1

Advanced Properties

NameValueDescription

always active

no

standard mode activated

direct-feedthrough

no

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

See Also