Missing ErrorMessage in Simulink.SimulationOuput object
3 ビュー (過去 30 日間)
古いコメントを表示
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
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 Center および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!