Test sequence how to check value between the time

2 views (last 30 days)
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

Answers (0)

Categories

Find more on Testing Frameworks in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!