modify the pulse width of a pulse generator
이전 댓글 표시
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?
Felipe Arriagada
2011년 7월 11일
답변 (3개)
Walter Roberson
2011년 7월 11일
0 개 추천
Looks to me as if you would either want to set_param() or else use a From Workspace block.
Kaustubha Govind
2011년 7월 12일
0 개 추천
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
Felipe Arriagada
2011년 7월 13일
Kaustubha Govind
2011년 7월 13일
Okay. I guess I misunderstood your question. So you have it working now?
카테고리
도움말 센터 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!