![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192797/image.jpeg)
Time delay in matlab fuction block used in simulink model.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Mazhar Saeed Butt
am 30 Jul. 2018
Kommentiert: Muhammad Mazhar Saeed Butt
am 30 Jul. 2018
Hi, I developed a power system in simulink. Here, i also use matlab function block and some coding in it. Now i want that when simulink power system starts to simulate, then matlab function block do not operate for first 2 seconds of simulation. In other words i want 2 second time delay of matlab function block. How can i perform that?
Thanks
0 Kommentare
Akzeptierte Antwort
Jim Riggs
am 30 Jul. 2018
Bearbeitet: Jim Riggs
am 30 Jul. 2018
Place your Matlab function block into a triggered subsystem block (or an enabled subsystem block), then trigger/enable the block based on time.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192797/image.jpeg)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Switches and Breakers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!