Test harness location/ working of harnessinfo xml file
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Varunjith Vijayan
am 22 Feb. 2018
Kommentiert: Varunjith Vijayan
am 23 Feb. 2018
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?
0 Kommentare
Akzeptierte Antwort
Rong Mi
am 22 Feb. 2018
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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Outputs finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!