![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192797/image.jpeg)
Time delay in matlab fuction block used in simulink model.
조회 수: 2 (최근 30일)
이전 댓글 표시
Muhammad Mazhar Saeed Butt
2018년 7월 30일
댓글: Muhammad Mazhar Saeed Butt
2018년 7월 30일
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
채택된 답변
Jim Riggs
2018년 7월 30일
편집: Jim Riggs
2018년 7월 30일
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)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Switches and Breakers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!