pulse width modulation, get values from the previous block

Hello,
In simulink, I would like to make a pulse width modulation action from pulse generator block . The problem is that, in order to set a varying pulse width in block parameters window druing the simulation, i need the value from the previous block . What should i do ? to use get_param function or anything else

Answers (1)

Go to the File Exchange and search for "Programmable Pulse Generator". There are a couple examples there that you can either use directly, or modify to fit your needs.

Asked:

on 22 May 2014

Answered:

on 22 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!