필터 지우기
필터 지우기

Test harness location/ working of harnessinfo xml file

조회 수: 6 (최근 30일)
Varunjith Vijayan
Varunjith Vijayan 2018년 2월 22일
댓글: Varunjith Vijayan 2018년 2월 23일
In the harnessinfo xml file the Directory is not specified for any of the harnesses. How the simulink is locating the Test harness? What I have to do if I want to add the harness which is saved outside the default working directory?

채택된 답변

Rong Mi
Rong Mi 2018년 2월 22일
The main model uses Universally Unique ID (UUID) to connect with the harnesses. The UUID information can be found in harnessinfo.xml file. So the directory information is not included in the harnessinfo.xml file.
If the harness is saved outside the default working directory, you can use the function to include the harness directory to MATLAB path:
addpath('the directory of the harnesses')
Then when the main model is opened, the harness can be recognized automatically.
If the harness is from a different model, the harness has to be imported to the main model to be recognized as its harness by the main model. Here is the link for harness import operation: https://www.mathworks.com/help/sltest/ref/sltest.harness.import.html
  댓글 수: 1
Varunjith Vijayan
Varunjith Vijayan 2018년 2월 23일
Is the import is needed for the different model versions or only for completely different model?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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