Combining BCI2000 with Fieldtrip

Forum for discussion on different signal processing algorithms
Locked
lucamossa
Posts: 19
Joined: 27 Jan 2014, 08:46

Combining BCI2000 with Fieldtrip

Post by lucamossa » 09 May 2014, 06:40

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

Locked

Who is online

Users browsing this forum: No registered users and 2 guests