MATLAB freezing, but not when using breakpoints
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all,
I'm having issues with a MATLAB script, which calculates the coherency between each channel of a nChannXnSamples signal (thus obtaining nFreqSamplesXnChannXnChann)
For that issue I'm using two nested loops (one for each of the last two dimensions) and using the scripts from EEGLAB for calculating the cross correlation.
The issue is that this scripts make my system to freeze, having to restart it pressing the power button.
What surprises me, is that when I debug the script line-by-line using breakpoints, the function runs perfectly until the end.
To sum up, the function only fails (freezing my system) when it runs completely by itself, if I pause it randomly, it is less likely to produce that failure.
Ps: I have tried to use the function pause every 10 iterations, but it doesn't work.
Ps2: The issue persist on MATLAB 2021a and 2019a
댓글 수: 1
Prabhan Purwar
2021년 5월 5일
Hi Victor,
It would be great if you please share the script with us so that we can replicate the issue from our side and will be able to provide a better solution.
Thanks
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!