Page 1 of 1

Read DBF

Posted: Tue Mar 20, 2012 2:18 pm
by trung05101
Hi all!
I downloaded MatLab code to read BioSemi BDF format data files. But I don't know how to use it. Example I want read channel 1, testdata.bdf.
Thanks.

Posted: Wed Mar 21, 2012 11:33 am
by w.m.vanvliet
I always use biosig (http://biosig.sourceforge.net)

HDR = sopen('testdata.bdf');
EEG = sread(HDR);
channel1 = EEG(:,1);
sclose(HDR);

Posted: Thu Mar 22, 2012 1:41 am
by trung05101
Thanks.
But I only downloaded ReadBDFChannel.m and ImportBDFHeader.m. I don't have funtion sopen and sread.

Posted: Thu Mar 22, 2012 12:11 pm
by w.m.vanvliet
Is there any particular reason you cannot use biosig?

I never worked with ReadBDFChannel.m, so cannot help you there I'm afraid. Try typing 'help ReadBDFChannel'

MATLAB API

Posted: Tue Apr 17, 2012 4:07 pm
by Lloyd
If you are interested in an open source MATLAB API for ActiveTwo, see this topic viewtopic.php?p=2049#2049. Thanks.