Using .mat file as input to the test harness.

조회 수: 11 (최근 30일)
SOMASHEKAR M
SOMASHEKAR M 2022년 6월 12일
답변: Pat Canny 2022년 6월 14일
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
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
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:
  1. Create a Test Harness - see section "Test Using the Test Manager"
  2. Create Data Files for Test Case Input - see section "Create a MAT-File for Input Data"

카테고리

Help CenterFile Exchange에서 Inputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by