sccn / BCILAB

MATLAB Toolbox for Brain-Computer Interface Research
Other
202 stars 120 forks source link

unable to stream #23

Open SnowLotus0511 opened 8 years ago

SnowLotus0511 commented 8 years ago

Hi,

I am an undergrad which having BCI system for my final year project. I was trying to connect neuroscan to BCILAB. However when i try to perform online analysis>read input from >neuroscan recorder. a small window pop out where i can fill the source TCP Hostname, TCP host port, etc. I am pretty sure that my neuroscan is running in server mode and i also key-in the exact port to the BCILAB.. However BCILAB giving me this error..

Error in ns_open (line 21) h.handle = pnet('tcpconnect', hostname, port);

Error in run_readneuroscan (line 38) h = ns_open(opts.src_hostname, opts.src_port);

Error in arg_guidialog (line 238) [varargout{1:nargout(func)}] = func(oldparams{:},params);

Error while evaluating Menu Callback

so would you mind to give me your suggestion so that i can carry on with my research.

your kind attention is highly appreciated

SnowLotus0511 commented 8 years ago

i found out that the error is because of

Attempt to execute SCRIPT pnet as a function: C:\Users\PR10\Downloads\BCILAB-devel\BCILAB-devel\dependencies\tcp_udp_ip-2.0.6\pnet.m

so I had searched google some solution and tried to input which -all pnet.

the output is

which pnet -all C:\Users\PR10\Downloads\BCILAB-devel\BCILAB-devel\dependencies\tcp_udp_ip-2.0.6\pnet.m

from the output, it can be clearly seen that the error is not from matlab confusion.

Can anyone please provide me some help on what i should do to solve this issue

Regards, Ericsen

DMRoberts commented 8 years ago

Hello Ericsen, it sounds like pnet.c is not compiled into a mex file for your system. pnet.m only contains help information, which I believe is why you are receiving the "Attempt to execute SCRIPT pnet as a function:" error.