Test sequence how to check value between the time
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Testing Frameworks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!