save directory of Externally-saved test harnesses

How can I change the save directory of externally-saved simulink test harnesses? They keep saving under C:\...

 Risposta accettata

Paul Urban
Paul Urban il 3 Dic 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 Commento

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).

Accedi per commentare.

Più risposte (1)

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 Commento

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

Accedi per commentare.

Categorie

Prodotti

Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by