Using .mat file as input to the test harness.
7 次查看(过去 30 天)
显示 更早的评论
I would like to use the .mat file as inputs to the test harness rather than using a spreadsheet input. Kindly share if any references.
1 个评论
Image Analyst
2022-6-12
I've removed the flag saying Duplicate since it does not appear this question is a duplicate. If it is, give the link of the duplicate. Or if you want the entire question removed, I think you can do that, or ask us to.
回答(1 个)
Pat Canny
2022-6-14
You can use a MAT file as a test case input using Test Manager. A test harness can be used as the "System Under Test" within a test case. The MAT file contents can be mapped to inports in the test harness.
Here are two references:
- Create a Test Harness - see section "Test Using the Test Manager"
- Create Data Files for Test Case Input - see section "Create a MAT-File for Input Data"
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!