Page 1 of 1

Problems with buildmex in MATLAB

Posted: 27 May 2014, 07:10
by siva82kb
Hi,

I am trying to setup the BCI2000 libraries for reading BCI2000 .dat files in Matlab. I downloaded the source code and then tried running the buildmex.m file. But I get the following error.

Code: Select all

>> buildmex
Building libbcimex ... 
  C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: 'libbcimex.a' not found. 
 
??? Error using ==> mex at 208
Unable to complete successfully.

Error in ==> buildmex at 323
    mex( args{:} );

Error in ==> buildmex at 234
    if ispc, buildmex( options{:}, LIBBCIMEX ); end
Could you tell me what might be the problem?

Also, are there any python libraries that can read the BCI2000 .dat files?

Thank you for your help.

Re: Problems with buildmex in MATLAB

Posted: 27 May 2014, 21:36
by boulay
siva82kb wrote: Also, are there any python libraries that can read the BCI2000 .dat files?
Yes. First, get the latest version of the BCI2000 source from svn. Then, in the source, look to trunk/src/contrib/BCPy2000/framework/BCPy2000
In that Python package there is BCPy2000.BCI2000Tools.FileReader
Actually there are many signal processing tools in there too.

As for your mex problems, I don't have a buildmex.m . What revision are you using? Where in the directory tree did you find that?