Page 1 of 1

Matlab-based Filter

Posted: 11 Jan 2012, 04:14
by RobinWang
Now I try to use the matlabsignalprocess, and use the code as the Implementing a Matlab-based Filter describe, when i click the start button, there are some errors:
2012-01-11T16:25:08 - Matlab function "bci_Process": Error using ==> filter
Initial conditions must be a vector of length max(length(a),length(b))-1,
or an array with the leading dimension of size max(length(a),length(b))-1
and with remaining dimensions matching those of x.

why?

Re: Matlab-based Filter

Posted: 12 Jan 2012, 08:04
by mellinger
You need to provide code for all of the BCI20000 event handlers, i.e. bci_Process.m, bci_Initialize.m, bci_Preflight.m, bci_Construct.m.