Variable Pulse Generator
R2026bGenerate ideal, time varying pulse signal
Libraries:
Simulink /
Discontinuities
Description
Use the Variable Pulse Generator block to create ideal modulated pulse signals.
Generally speaking, the output pulse of the block is described by
where pw is the output pulse width.
For an implementation of Pulse Width Modulation, see PWM.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"simulink/Discontinuities/Variable Pulse Generator"
Example: add_block("simulink/Discontinuities/Variable Pulse Generator","myModel/myBlock",MakeNameUnique="on")
Algorithms
Extended Capabilities
Version History
Introduced in R2020b









