Documentation

Signal Builder

Create and generate interchangeable groups of signals whose waveforms are piecewise linear

Library

Sources

Description

The Signal Builder block allows you to create interchangeable groups of piecewise linear signal sources and use them in a model. See Signal Groups.

    Note:   Use the signalbuilder function to create and access Signal Builder blocks programmatically.

Data Type Support

The Signal Builder block accepts signals only of type double and outputs a virtual nonhierarchical bus, scalar, or array of real signals of type double. It does not support data stores (see Data Stores).

For more information, see Data Types Supported by Simulink.

Parameters and Dialog Box

The Signal Builder block has the same dialog box as that of a Subsystem block. To display the dialog box, right-click the block and select Subsystem Parameters.

Examples

The following examples show how to use the Signal Builder block:

  • sldemo_pid2dof

  • sf_test_vectors

Characteristics

Data Types

Double

Sample Time

Specified in the Sample time parameter, accessible by selecting File > Simulation Options in the Signal Builder block

  • Zero represents a continuous sample time.

  • A positive integer represents a discrete sample time.

Multidimensional Signals

No

Variable-Size Signals

No

Zero-Crossing Detection

Yes

Code Generation

Yes

Introduced before R2006a

Was this topic helpful?