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

回答 (1 件)

A Jenkins
A Jenkins 2014 年 5 月 22 日

0 投票

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.

質問済み:

2014 年 5 月 22 日

回答済み:

2014 年 5 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by