how to change a variable value in the middle of simulation in simulink
1 view (last 30 days)
Show older comments
kesava rao on 26 Jan 2021
Commented: Birdman on 29 Jan 2021
I am giving pulse to a mosfet through pulse generator and i want to vary the pulse witdth to another value after 2 sec. How can i do it in simulink
Birdman on 28 Jan 2021
Edited: Birdman on 28 Jan 2021
Try the attached model. Copy the structure and replace it with the pulse generation block. It should work. Instead of writing p inside the constant block, just write the numerical value, 80 or 30.
Birdman on 29 Jan 2021
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!