This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Signal Builder

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




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.


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.


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

  • sldemo_pid2dof

  • sf_test_vectors


Data Types


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


Variable-Size Signals


Zero-Crossing Detection


Code Generation


Introduced before R2006a

Was this topic helpful?