Triangle Generator
(To be removed) Generate symmetrical triangle waveform at regular intervals
The Specialized Power Systems library will be removed in R2026a. Use the Simscape™ Electrical™ blocks and functions instead. For more information on updating your models, see Upgrade Specialized Power System Models to use Simscape Electrical Blocks.
Libraries:
Simscape /
Electrical /
Specialized Power Systems /
Sources /
Signal Generator Sources
Description
The Triangle Generator block generates a symmetrical triangle waveform, with peak amplitude of +/−1. The figure shows how the Frequency and Phase block parameters affect the output waveform.

Characteristics
| Sample Time | Specified in the Sample Time
parameter Continuous if Sample Time = 0 |
| Scalar Expansion | No |
| Dimensionalized | No |
| Zero-Crossing Detection | No |
Parameters
Extended Capabilities
Version History
Introduced in R2013a