Simulation data inspector perfomance degrade during long sessions

44 次查看(过去 30 天)
此 个问题 已被 Walter Roberson 标记
In my work i'm extensively relying on simulation data inspector to analyize waveforms. While being a great tool, i'm experiencing lots of stability issues. Namely, when i import data from a run into the SDI, the first time works well. However, if my analysis continues, while I plot different signals and perform zoom-in and zoom out multiple times, performance of the SDI start degrading over time, so much so that after perhaps 15 minutes of use it becames so slow and constantly 'loading' signals randaring it unusable. At those times, the GPU load becomes significant (reaching 80%).
Clearing and reloading the signals again (Simulink.sdi.clear) helps but, after repeating the process so for several times (clear, load, zoom-in/zoom-out etc), the problem becomes permanent, and only restarting the whole Matlab session helps. However, ocassionally it occures that I cannot close matlab normally, and i'm forced to kill the process from the Task Manager.
I'm using office desktop workstation (xeon e5-1620-v3 with 16GB of RAM, 500GB HDD Nvidia, Quadro NVS 310, Win10 Enterprise) to run simulations in batch mode and save the data on the disk. Than, I analyze the data by downloading it into the simulation data inspector running on laptop (Core i7-3740QM, 8GB RAM, Quadro K2000M, 380GB SSD, Win 7 Enterprise). Occassionally I use my home laptop (Core i7-3610QM, 16GB RAM, Quadro K1000M, 256GB SSD, Win 10 Pro) for analysis and the problem persist there as well. I'm running Matlab R2018b on all instances.
As one can see, I have quite diverse set of hardware and OS combinations and the problem is reproducible on all of them. If someone has simmilar experience please let me know if (and how) you managed to workaround, as it is quite annoyence when using it for long time.
  1 个评论
Jon
Jon 2019-10-11
I'm also experiencing similar problems with Simulation Data Inspector. First few simulations after starting a new MATAB session it works great. It then gets slower and slower and eventually unusable. I have tried deleting the archived sessions but this doesn't seem to help. In fact it seems to hang doing this. There may be some less drastic way to get SDI going again after it bogs down, but I usually end up exiting Matlab and then restarting again.

请先登录,再进行评论。

回答(5 个)

Hans Jensen
Hans Jensen 2020-5-28
Has this issue been solved ? The Simulation Data Inspector slows down to zero speed after one run. It was perfect in 2018, which I upgraded from. I applied some commands, since the 'overwrite previous run' option was no longer available in 2020a, but I don't know if that has anything to do with it.
  6 个评论
Vincenzo Salvo
Vincenzo Salvo 2020-7-8
Same problem R2019b, with high number of signals computed and logged at high frequencies (48Mhz). PC RAM 192gb.
Hari Moorthy
Hari Moorthy 2020-8-6
I am running Matlab 2020a and i also observe problems with SDI in thee manner in which it displays signals. Especially with horizontal and vertical zoom and when there are multiple subplots (or plots). I have about 5 x 1 array of plots. Each plot rectangle may have between 1 and 3 signals.

请先登录,再进行评论。


Dominique Poincloux
Same happens to me. Very frustrating !
The same issue is described in another topic:
Simulink.sdi.clear command works, but the problem comes back after a few runs or some tens zoom-unzoom operations.
my .dmr file is only ~200MB
Thanks for any advice...

Alexander Mayrdorfer
Same problem here! First runs are very fast and the initialization of the data insepctor is also quite fast. After some runs and "fit to views" the initialization of the data inspector becomes very slow.... Its very frustrating... I hope someone can help us and find a solution!
best regards,
Alex

Ben Rancici
Ben Rancici 2020-7-8
编辑:Ben Rancici 2020-7-8
Same issue here, with same frustration I guess. SDI performance is worsening every new simulation. Sometime the graphs disapear completly.
Matlab 2020a update 3.
  3 个评论
Ben Rancici
Ben Rancici 2020-7-10
Another graphical issue with SDI is that sometime the setting pane won't disapear (Cross). When it occurs, there is this unused white space (Question mark).
Ben Rancici
Ben Rancici 2020-7-10
编辑:Ben Rancici 2020-7-10
Here is a screenshot of the SDI showing empty graphs, though it should display several of them:
The reason is that the x-axis ranging was automatically set to 55-110s instead of 0-55s, which is the simulation time.

请先登录,再进行评论。


Felipe
Felipe 2024-11-18,19:51
Well into the end of 2024 and this problem persists in R20204b. I reopen my projet and it instally raids 8GB of RAM in the form of cache. Simulink.sdi.clear doesn't have any effect and I crash after only a few runs.
My model is quite simple, just 3 state spaces and a gain

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by