MATLAB Answers

0

pulse width modulation, get values from the previous block

Asked by Nuh Metehan on 22 May 2014
Latest activity Answered by A Jenkins
on 22 May 2014
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

  0 Comments

Sign in to comment.

1 Answer

Answer by A Jenkins
on 22 May 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.

  0 Comments

Sign in to comment.