Page 1 of 1

LSL Export Neurofeedback

Posted: Sat Jun 17, 2023 3:57 pm
by arayes2000
Dear Friends,
Good afternoon. I am trying to view the output signal stream for the BCI Neurofeedback example on Matlab LSL viewer, however the is no signal shown in the LSL viewer. I could only view oscillating signals (before averaging the signal). Should I change the stream type for EEG to another stream type, and if so which stream type should I use? If not, how could I stream the final output neurofeedback signal?

Thank you.

Re: LSL Export Neurofeedback

Posted: Tue Jun 20, 2023 9:49 am
by arayes2000
This is the error shown in the matlab commmand window:
Requested array exceeds the maximum possible variable size.

Error in vis_stream>design_kaiser (line 490)
W = besseli(0,beta*sqrt(1-(2*((0:(N-1))/(N-1))-1).^2))/besseli(0,beta);

Error in vis_stream>design_bandpass (line 445)
wnd = design_kaiser(freqs(pos),freqs(pos+1),atten,false);

Error in vis_stream (line 155)
allBs{end+1} = design_bandpass([1 2 45 47],stream.srate,20,true);

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

Error in vis_stream (line 193)
arg_guidialog;

Related documentation

Error while evaluating Menu Callback.