<div dir="ltr"><div>Dear community, </div><div><br></div><div>My name is Luca Mossa and I'm working in a company in Turin (Italy) on BCI experiments.</div><div>Currently I'm trying to develop some Matlab code to improve the signal processing process.</div>
<div><br></div><div>I'm currently trying to use FieldTripBuffer (in matlab) as the Signal Processing module for a mu rhythm application. I have no problems to read the raw signal and states but I have trouble to find a way to sent the processing result back to Bci for the classification.</div>
<div><br></div><div>Thanks to Mr. Oostenveld now I know that I must use the ft_write_event function but when I tried to use my code (with ft_write_event function) appears an error:</div><div><br></div><div>Error using buffer</div>
<div>events must be given as struct.</div><div><br></div><div>Error in ft_write_event</div><div>buffer('put_evt', event, host, port)</div><div><br></div><div>Now I think that I must define some parameters, like:</div>
<div><br></div><div>event.type=....</div><div>event.sample=....</div><div>event.offset=....</div><div>event.duration=....</div><div>event.value=....</div><div><br></div><div>but I don't understand which kind of value to insert in these field. Have you some hint? Did you make me some example?</div>
<div><br></div><div>Thank you very much.</div><div><br></div><div>Luca</div></div>