Missing ErrorMessage in Simulink.SimulationOuput object

조회 수: 3 (최근 30일)
Afzal
Afzal 2023년 5월 24일
댓글: Ashutosh 2023년 8월 14일
I've come across an issue where the ErrorMessage property of a Simulink.SimulationOutput object is not populated, although the MATLAB command window states that the simulation had errors. This occurred whilst running parallel simulations using the parsim command. This happened on the 23rd simulation of 526 simulations run in parallel, as can be seen below.
Another issue is that the subsequent simulation also seems to have been affected. The ToWorkspace data in the SimulationOutput object of Case 24 seems to be populated with data from Case 23. My Simulink model use an S-function to run an external program, which seems to have executed correctly, as the data output by that program is different for Case 23 and 24, as expected. Also looking at the output generated by the external program, it seems that it is actually Case 24 that has an error as it seems to have stopped abruptly without any STOP signal from the Simulink model, while all other cases stop as expected. simOut(24) does not have any error messages either.
  댓글 수: 1
Ashutosh
Ashutosh 2023년 8월 14일
Hi @Afzal could you please provide me with the Model, code and the reproduction steps to reproduce the issue at my end ?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by