SampleTrigger

Generate sample trigger signal

    SampleTrigger

Library

Blocks/Sources

Description

The Boolean output y is a trigger signal where the output y is only true at sample times (defined by parameter period) and is otherwise false.

SampleTrigger.png

Parameters

SampleTrigger_0

NameLabelDescriptionData TypeValid Values

mo_period

period

Sample period

Scalar

mo_startTime

startTime

Time instant of first sample trigger

Scalar

SampleTrigger_1

NameLabelDescriptionData TypeValid Values

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Boolean output signal

output

1