![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174472/image.jpeg)
Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
[simulink] ouput set
조회 수: 1 (최근 30일)
이전 댓글 표시
sample time = 0.1 time 0~0.4
i want t=0.1 output=0.1 / t=0.2 output=0.2 / t=0.3 output=0.3 / t=0.4 output=0.4
what is block for this output? (not block of clock)
댓글 수: 0
답변 (1개)
Vidya Viswanathan
2016년 6월 15일
Hi Hojae,
I believe the block that you are looking for is "Clock" or "Digital Clock" where the output of the block is the current simulation time. The primary difference between the two blocks is that the "Digital Clock" block outputs the current simulation time at a rate that is specified by the user whereas the "Clock" block results in a continuous output. In your application, I believe you require the block to output the current simulation time at the rate of 0.1. The following are the documentation links for both the blocks:
The figure below shows the output of both the blocks:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174472/image.jpeg)
I hope this addresses your question.
Regards,
Vidya Viswanathan
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!