Test sequence does not output verification results to SDI when running in External mode

조회 수: 2 (최근 30일)
I am using "Test Sequence" and "Test Assessment" blocks with "verify" statements to test my model on a Speadgoat target. Even though when I simulate the model in Simulink, the "Test Assessment" results are the expected ones in the Simulink Data inspector, when I run the model in external mode, I do not get any data from the "Test Assessment" block in the Simulink Data Inspector.
Why does this happen? Is there any workaround?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 3월 1일
This happens because, as of MATLAB R2023a, the "Test Assessment" block can only write results into the Simulink Data Inspector when executed from the Simulink Test Manager.
To workaround this issue, please follow the workflow described on the documentation page below:

추가 답변 (0개)

카테고리

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