pulse width modulation, get values from the previous block

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

A Jenkins
A Jenkins il 22 Mag 2014
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.

Community Treasure Hunt

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

Start Hunting!

Translated by