Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Storing/editing Data for time by going back to the previous simulation in one particular run
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi All!
I have this task where I have to compute the time for one particular action in my simulink model, and based on its value I have to go back in simulation and make the necessary changes. For eg. I need to compute the time period for which a signal goes off (in one straight shot, not like in total, but like when its off, for how long it stays off before it gets back on), and if this time period is less than a particular value, I have to make the signal to remain on.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208361/image.jpeg)
Now, here in the shown signal, I have to compute Ts in simulation run, and if Ts is less than some predefined time T, the signal must remain on within this Ts, time period.
*And this check I have to apply over the entire signal range.
Thanking you in anticipation.
0 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!