Simulink Design Verifier Expected Output missing

조회 수: 1 (최근 30일)
Nipurn Gulgulia
Nipurn Gulgulia 2019년 3월 18일
댓글: Shishir Dwivedi 2019년 3월 25일
I am trying to generate Test cases using SLDV in Matlab2017a. I checked "Include Expected Output Value" under result section of Design Verifier. But still in .mat file and HTML report i am not able see any expected output. Is there any conition for output port/Signal or any other settings which needs to generate Expected Output result.
Is there anyone who can help me with it ?

답변 (1개)

Pat Canny
Pat Canny 2019년 3월 18일
You should see the expected outputs in the sldvData.TestCases.expectedOutput field (from the .mat file). It should be an array of cell arrays.
In the report, you should see an Expected Output section for each Test Case generated.
  댓글 수: 2
Nipurn Gulgulia
Nipurn Gulgulia 2019년 3월 22일
I checked and its not there.
Is there any other thing need to check other than "Include Expected Output Value" under result section of Design Verifier.
Shishir Dwivedi
Shishir Dwivedi 2019년 3월 25일
Hi Nipurn,
  • Is the model having unconnected outports?
  • Are there any model references used in the main model & if yes then are the referenced models have SaveFormat = Dataset?. Change the save format to "Array" or "Structure with time" and see if you are able to get expected outputs.
Best Regards,
Shishir.

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

카테고리

Help CenterFile Exchange에서 Reduce Model Complexity에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by