Trapezoid

This block generates a trapezoidal signal emulating the MSL Modelica block:
Modelica.Blocks.Sources.Trapezoid

    Trapezoid

Library

SignalGenerators

Parameters

Trapezoid_0

NameLabelDescriptionData TypeValid Values

amplitude

Amplitude

Amplitude of trapezoid

Scalar

rising

Rising duration

Rising duration of trapezoid

Scalar

width

Width duration

Width duration of trapezoid

Scalar

falling

Falling duration

Falling duration of trapezoid

Scalar

period

Period

Time for one period

Scalar

nperiod

Number of periods

Number of periods (use a negative value for unlimited)

Scalar

startTime

Start Time

Trapezoid start time

Scalar

offset

Output offset

Initial offset of the output

Scalar

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

1

Diagram

Trapezoid