Dear all,<br> I am trying to read the signal from BCI2000 in MATLAB using the fieldtripbuffer. I use the code given in the BCI2000 wiki at <a href="http://www.bci2000.org/wiki/index.php/Programming_Tutorial:Working_with_the_FieldTrip_buffer">http://www.bci2000.org/wiki/index.php/Programming_Tutorial:Working_with_the_FieldTrip_buffer</a>.<br>
It was able to read and plot the signal from BCI2000 correctly for a certain period of time, but eventually it stopped and reported "ERROR: failed to create socket (-2)". I was able to connect to and read from the buffer again if I re-run the program.<br>
Does anyone have an idea why this error occur and how to solve it?<br> Thanks a lot!<br>Best regards,<br>Teris<br>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>