필터 지우기
필터 지우기

MATLAB freezing, but not when using breakpoints

조회 수: 1 (최근 30일)
Victor R
Victor R 2021년 4월 20일
댓글: Prabhan Purwar 2021년 5월 5일
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
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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by