From: Gilbert on
Make triangle wave using block sawtooth. Then compare it to a constant using <= block. Then Wala you got it

"Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message <hacql4$7a1$1(a)fred.mathworks.com>...
> Hi,
>
> I would like to know how can I generate a PWM signal in Simulink?
> Duty cycle=90%
> Amplitude = 5V
> Frequency= 15KHz