PWM
Generate pulse width modulated signal of digital output pin
Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.
Libraries:
Simulink Support Package for Raspberry Pi Hardware /
Basic
Description
Use the PWM block to vary the power output of a digital output pin. This block enables a digital output to provide a range of different power levels, similar to that of an analog output.
During simulations without the hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation.
Ports
Input
Parameters
Version History
Introduced in R2016b