I have a question concerning the matlab box. I use it to process my signal. But after a while OpenVibe always crashed. I have looked into it and found out, that the memory usage of OpenVibe increases extremely during the operation. I was using time-based-epoching before the box, and it seemed like all epochs were saved in memory?!
Now I am doing the epoching myself in the matlab box, so the memory usages increases slower. But still, after some hours also this would lead to a crash.
This can be also observed in the FFT-Matlab Tutorial.
My code in the simplest version producing the problem looks like this:
Code: Select all
function box_out = adaptive_process(box_in)
for i = 1: OV_getNbPendingInputChunk(box_in,1)
[box_in, start_time, end_time, matrix_data] = OV_popInputBuffer(box_in,1);
end
box_out = box_in;
end
Thanks,
Simon