MATLAB Answers

save directory of Externally-saved test harnesses

4 ビュー (過去 30 日間)
Mehrfzl
Mehrfzl 2019 年 11 月 29 日
コメント済み: Paul Urban 2020 年 1 月 7 日
How can I change the save directory of externally-saved simulink test harnesses? They keep saving under C:\...

  0 件のコメント

サインインしてコメントする。

採用された回答

Paul Urban
Paul Urban 2019 年 12 月 3 日
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 件のコメント

Mehrfzl
Mehrfzl 2019 年 12 月 4 日
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).

サインインしてコメントする。

その他の回答 (1 件)

Ashvini Bankar
Ashvini Bankar 2020 年 1 月 7 日
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 件のコメント

Paul Urban
Paul Urban 2020 年 1 月 7 日
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

サインインしてコメントする。

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by