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 Ansicht (letzte 30 Tage)
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.

Antworten (1)

Walter Roberson
Walter Roberson am 7 Jan. 2020
Bearbeitet: Walter Roberson am 7 Jan. 2020
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 Kommentar
Ashvini Bankar
Ashvini Bankar am 7 Jan. 2020
Bearbeitet: Ashvini Bankar am 7 Jan. 2020
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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by