Matlab in BCI2000

Forum for discussion on different signal processing algorithms
Locked
HindHaneen
Posts: 3
Joined: 03 Dec 2012, 04:47

Matlab in BCI2000

Post by HindHaneen » 26 Mar 2013, 12:11

Hello everyone :)

I am trying to interface a matlab algorithm to BCI2000. The code already works fine in the offline mode and I'm trying to make it for the online mode now.

I tried to follow this link:
http://www.bci2000.org/wiki/index.php/P ... sed_Filter

But I found it hard to follow and I didn't really know what to put in the 5 .m files [Process- initialize ..etc]

The code is really simple, it cleans and de-noises basically.. here it is:

function out_signal = bci_Process( in_signal )

level = 5;
wname = 'sym4';
tptr = 'sqtwolog';
sorh = 's';
npc_app = 4;
npc_fin = 4;

[out_signal, npc, nestco] = wmulden(in_signal, level, wname, npc_app, npc_fin, tptr, sorh);

Any advice ??

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: Matlab in BCI2000

Post by boulay » 26 Mar 2013, 13:12

Check your BCI2000/prog/matlab folder. There should be some examples there.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests