Missing ErrorMessage in Simulink.SimulationOuput object
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Ashutosh
am 14 Aug. 2023
Hi @Afzal could you please provide me with the Model, code and the reproduction steps to reproduce the issue at my end ?
Antworten (0)
Siehe auch
Kategorien
Mehr zu General Applications finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!