Dear community,
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.
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:
Error using buffer
events must be given as struct.
Error in ft_write_event
buffer('put_evt', event, host, port)
Now I think that I must define some parameters, like:
event.type=...
event.sample=...
event.offset=...
event.duration=...
event.value=...
but I don't understand which kind of value to insert in these field. Have you some hint? Did you make me some example?
Thank you very much.
Luca
Combining BCI2000 with Fieldtrip
Who is online
Users browsing this forum: No registered users and 23 guests