how to change a variable value in the middle of simulation in simulink
Mostra commenti meno recenti
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
2 Commenti
Birdman
il 27 Gen 2021
As far as I know, it is already doable from the mask of it. What is your situation so that you are not able to change it? Can you share your model as a file?
kesava rao
il 28 Gen 2021
Risposte (1)
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.
2 Commenti
kesava rao
il 29 Gen 2021
Birdman
il 29 Gen 2021
Try the attached model. It does what you need.
Categorie
Scopri di più su Sources in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!