How can I express a state change and a time length in action for requirements table?
1 次查看(过去 30 天)
显示 更早的评论
Suppose that I have a requirement in an EARS form like follows:
While state1 = state_operational, when input1 = 1, the system shall satisfy output1 = 2 for at least 2 seconds.
1) Is there a way to express the interruption when the state changes? And what happens with the 2 seconds time in this case?
2) How can I express the "for at least 2 seconds"? I refer to this into the action column of requirements table.
1 个评论
Midhulesh Vellanki
2022-12-22
Requirements are plane text. If you are trying to test requirements to show coverage you can use assessments to test that the temporal behavior of your signal. https://www.mathworks.com/help/sltest/ug/temporal-assessments.html
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Verification, Validation, and Test 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!