Simulink/Simscape/Parsim monte-carlo issue:

3 次查看(过去 30 天)
I'm running a simscape/multibody/parsim in monte-carlo mode. The problem can be run in normal mode (all 1000 cases run) but not rapid accelerator mode. In rapid accelerator mode the simulation hangs part way through, and Matlab is unresponsive. The windows performance monitor reports that all cpu cores are still running but unless I kill the process it will never respond.
At first the sim crashed at run number 105 so I tried reducing the output data by a factor of 10. After that the sim made it to run 696 and hung there. I suspect that an output buffer or file is to blame. I have 32 gig on my machine and the memory in use never gets above 20 gig.
Any thoughts?
Thanks in advance,
Todd Wetzel

回答(1 个)

Steve Miller
Steve Miller 2022-11-23
Seems like you have narrowed it down to a logging or buffer issue. Try eliminating nearly all the data logging. The Simulation Manager may provide additional diagnostics. If you can share the model, we can test it further.
--Steve

类别

Help CenterFile Exchange 中查找有关 Model Preparation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by