필터 지우기
필터 지우기

Facing issue in test generation using simulink test through matlab commands

조회 수: 2 (최근 30일)
Aditi  Kanawade
Aditi Kanawade 2022년 2월 7일
댓글: Pat Canny 2022년 2월 9일
Facing issue while generating tests using command as shown in screenshot. This command is working fine on matlab 2020b update6 version but its giving below error on matlab 2021b update2 version. When I am trying to generate tests manually using simulink design verifier then its generating successfully on same model but giving below error while generating tests using below command.
Please let me know the solution of the issue.
  댓글 수: 3
Devendra Bhave
Devendra Bhave 2022년 2월 9일
편집: Devendra Bhave 2022년 2월 9일
Try disabling the harness creation. Run the following code and let us know whether it works.
tcObj = sltest.testmanager.createTestForComponent('TestFile', tf, ...
'SLDVTestGeneration', true, ...
'Component', Schedular_Name, ...
'CreateHarness', false, ... % Disable the harness creation to analyze the component directly
'TestType', 'equivalence', ...
'Simulation1Mode', 'Normal', ...
'Simulation2Mode', 'Software-in-the-Loop (SIL)'...
);
Aditi  Kanawade
Aditi Kanawade 2022년 2월 9일
I have tried disabling the harness creation but getting same error.

댓글을 달려면 로그인하십시오.

답변 (1개)

Devendra Bhave
Devendra Bhave 2022년 2월 9일
It is a bit difficult to establish the root cause of the error based on the above information. I suggest you consult MathWorks technical support.

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by