Constant

Purpose

Generate constant signal

Library

Control / Sources

Description

../../_images/constant.svg

The Constant block outputs a constant signal.

The constant value is displayed in the block if it is large enough, otherwise a default text is shown. To resize the block, select it, then drag one of its selection handles.

Parameters

Value

The constant value. This parameter may either be a scalar or a vector defining the width of the component. The default value is 1.

Output data type

The data type of the output signal. See Data Types.

Probe Signals

Output

The constant signal.