Using workspace variables in Logical/Temporal Assessments (Test Manager)
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Results, Reporting, and Test File Management in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!