Using workspace variables in Logical/Temporal Assessments (Test Manager)
显示 更早的评论
What I want to do:
I would like to build logical/temporal assessments in Test Manager that are assessed against a variable in my workspace.
For example: I want a test for my controls such that -
- SysRdy shall become TRUE when the SysTemp > "MinAllowableTemp"
I would like to define "MinAllowableTemp" as a symbol which gets its value from a variable in my workspace. However, I get the following error when I run the Test
Error evaluating expression for symbol 'MinAllowableTemp' (Unrecognized function or variable 'x'.)
What I have tried:
- Define "MinAllowableTemp" as a symbol in Test Manager
- Run the script that defines 'x' in my workspace prior to running any tests.
- Run the script that defines 'x' in the Callbacks-Preload section of the test case.
- Run the script that defines 'x' in the Callbacks-Setup section of the test file.
Any help is appreciated - thanks!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Assessments, Criteria, and Verification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!