In a Simulink model, Check at simulation time 't' (eg. @t=3sec) what is the value of a signal (signal is from signal builder).
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I have a signal (eg: sine wave) from signal builder block. When I run the model, I need to check at simulation time 't' (eg. @t=3sec) what is the value of that signal. Based on that value I'll be doing some logic. How can I achieve this?
댓글 수: 0
답변 (1개)
Astik Sachan
2017년 5월 26일
편집: Astik Sachan
2017년 5월 30일
It gives current time stamp as output.
Please refer Sample Model "Clock.png" attached below!
댓글 수: 2
Astik Sachan
2017년 5월 30일
편집: Astik Sachan
2017년 5월 30일
You can sample the value at that time stamp with the help of a Clock block and trigger subsystem.
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!