save directory of Externally-saved test harnesses

9 views (last 30 days)
How can I change the save directory of externally-saved simulink test harnesses? They keep saving under C:\...

Accepted Answer

Paul Urban
Paul Urban on 3 Dec 2019
When creating an external harness the path where the harness is stored defaults to the current working directory. There is an option to navigate to a different path to change its location. Currently there isn't a way to move test harness to a different folder once created.
createharness.jpg
  1 Comment
Mehrfzl
Mehrfzl on 4 Dec 2019
Thank you for answering my question. It solved a big problem. However, you can move the externally created test harnesses inside your working path (just cut-paste them).

Sign in to comment.

More Answers (1)

Ashvini Bankar
Ashvini Bankar on 7 Jan 2020
Which is the tool license to execute command like sltest.harness.create? I have simulink test version 1.1 but still I am getting error like undefined variable sltest or class sltest.harness.create.
  1 Comment
Paul Urban
Paul Urban on 7 Jan 2020
sltest.harness.create requires Simulink Test license. You may want to check that Simulink Test is indeed installed. If it is then you may want to contact customer support to help resolve the issue https://www.mathworks.com/support/contact_us.html?s_tid=sp_ban_cs

Sign in to comment.

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!