Test sequence how to check value between the time

2 visualizaciones (últimos 30 días)
Hariom Singh
Hariom Singh el 2 de Nov. de 2018
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

Respuestas (0)

Categorías

Más información sobre Testing Frameworks en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by