Test sequence how to check value between the time

I have requirement which I need to check data in 5s and tolerance is +/- 20 ms How to I write it in test sequence So that the check is in between 4.98s to 5.02s
Did some research in below page https://www.mathworks.com/help/sltest/ug/act-or-transition-using-temporal-and-event-operators.html
There is either test it after certain time .There is nothing like keep checking value for the time range Any suggestion will be helpful
Something like below for 4.98s to 5.02s: if value == True return true else return False

답변 (0개)

카테고리

도움말 센터File Exchange에서 Results, Reporting, and Test File Management에 대해 자세히 알아보기

제품

릴리스

R2017b

태그

질문:

2018년 11월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by