I'm running a function with big datas (my RAM reaches 4go/8go during the process). Thanks to the tic/toc function, I know that matlab reaches the end of my function, as the elapsed time (about 30 sec) is displayed in my command window.
After that, I have to wait for a few minutes, until Matlab is ready again (busy during all this time). Does someone know where this issue comes from? A clue : during this 'busy time' my RAM is still used up to 3go, it's like Matlab cannot clear the local variables...
After that, I have to wait for a few minutes, until Matlab is ready again (busy during all this time). Does someone know where this issue comes from? A clue : during this 'busy time' my RAM is still used up to 3go, it's like Matlab cannot clear the local variables...