Page 1 of 1

bci2000 chain

Posted: 25 Mar 2014, 13:41
by Sri_usw
Hello ,
I started using BCI2000chain. I hope I understood the concept but I am encountering errors while I am using it.

[signal,states,parameters,total_samples]=load_bcidat('C:\Users\KUTCHU\Downloads\BCI2000\data\mu\Ahmed001\AhmedS001R01.dat');
>> s=bci2000chain(double(signal),'TransmissionFilter|SpatialFilter|ARFilter');

when i type the following commands in matlab its throwing me an error saying

??? Error using ==> exist
The first input to exist must be a string.

Error in ==> bci2000chain at 194
if ~exist(datfile, 'file') | isdir(datfile), error(sprintf('file %s not found', datfile)), end


when I tried using .dat file instead signal(mat file) \i am still encountering the error

??? Error using ==> bci2000chain at 384
system call failed:
bci_dat2stream < "C:\Users\KUTCHU\Downloads\BCI2000\data\mu\Ahmed001\AhmedS001R01.dat" | TransmissionFilter |
SpatialFilter | ARFilter | bci_stream2mat >
C:\Users\KUTCHU\AppData\Local\Temp\tpd63ef89e_674f_432f_bb50_90df3d0f6044\out.mat
'bci_dat2stream' is not recognized as an internal or external command,
operable program or batch file.
Note:signal,parameters,states are in mattlab format.

Can you please help me with the above errors.
thanks.

Re: bci2000 chain

Posted: 31 Mar 2014, 11:37
by boulay
I know from our e-mail conversation that you resolved this. For the benefit of future visitors, can you please post what the problem was and how it was resolved?
Thanks,
Chad