modify the pulse width of a pulse generator
4 次查看(过去 30 天)
显示 更早的评论
modify the pulse width of a pulse generator from a variable that gives me an equation in the same space work SIMULINK remember is a variable and changing THROUGH time, and must modify the pulse width according to this variable, all automatically
2 个评论
Kaustubha Govind
2011-7-11
Not sure what you mean by "from a variable that gives me an equation" - how do you represent this equation. Is it something that needs to be solved using a Toolbox function?
回答(3 个)
Walter Roberson
2011-7-11
Looks to me as if you would either want to set_param() or else use a From Workspace block.
0 个评论
Kaustubha Govind
2011-7-12
Ah! This is the old question How Do I Change a Block Parameter Based on the Output of Another Block?
As the blog post linked above explains, it is not possible to change the Pulse Generator parameter using a signal. I think what you should do is implement this functionality using basic Simulink blocks. Perhaps Enabled Subsystems can be used as part of the solution.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!