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.

4 ビュー (過去 30 日間)
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 件)

Walter Roberson
Walter Roberson 2020 年 1 月 7 日
編集済み: Walter Roberson 2020 年 1 月 7 日
sltest.harness.create needs R2015a or later, but it was not documented until R2015b. https://www.mathworks.com/help/releases/R2015b/sltest/ref/sltest.harness.create.html
Simulink Test version 1.1 appears to have been R2015b, so provided that you have the software installed and licensed you should be able to use it. (R2019b corresponds to Simulink Test release 3.1)
I do see an oddity in the version numbers documented; I see an indication that R2015bSP1 might have been version 1.0.1 instead of version 1.1.1 . Perhaps that is a mistake in the manual.
  1 件のコメント
Ashvini Bankar
Ashvini Bankar 2020 年 1 月 7 日
編集済み: Ashvini Bankar 2020 年 1 月 7 日
basically you mean to say i will need Simulink Test with version 1.0.1 for using sltest.harness.create.
but the version I am using is already the higher version with R2015b matlab.
still the command throws error.

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

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by