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 visualización (últimos 30 días)
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de En. de 2020
Editada: Walter Roberson el 7 de En. de 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 comentario
Ashvini Bankar
Ashvini Bankar el 7 de En. de 2020
Editada: Ashvini Bankar el 7 de En. de 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.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by