Simulation data inspector perfomance degrade during long sessions

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.

댓글 수: 3

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.
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...
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

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

답변 (3개)

Hans Jensen
Hans Jensen 2020년 5월 28일

3 개 추천

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

Guy Rouleau
Guy Rouleau 2020년 6월 1일
편집: Guy Rouleau 2020년 6월 1일
Please submit a technical support request: https://www.mathworks.com/support/contact_us.html
We really would like to understand what it going wrong here.
Thanks,
Guy
Hi Guy Rouleau,
Here someone experiencing the same.
Is there any update concerning to this issue? Was a technical support request asked by the post author?
hi
have just made a technical support request. I noticed in the process, that the Data Inspector file (.mldatx) is 60 Mb. Could that be part of the problem ?
There is only the one simulation result shown, since I ran some commands, that made Data inspector overwrite previous simulations. Maybe it is not really overwriting them, but somehow storing them, since the file is so big ?
I have the same problem; it is rendering SDI basically unusable. It is a great idea, but the implementation seems to have memory leak or other performance related issues.
Same problem R2019b, with high number of signals computed and logged at high frequencies (48Mhz). PC RAM 192gb.
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.

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

Ben Rancici
Ben Rancici 2020년 7월 8일
편집: Ben Rancici 2020년 7월 8일

0 개 추천

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

Hi Ben, Please submit a help ticket, we would like to investigate that: https://www.mathworks.com/support/contact_us.html
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일

0 개 추천

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

댓글 수: 1

Update : restarting the computer is the temporary fix I have found

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

카테고리

도움말 센터File Exchange에서 View Data During Simulation에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 5월 2일

이동:

2025년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by