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 (최근 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 CenterFile Exchange에서 Inputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by