Problems with buildmex in MATLAB

General information about brain-computer interfaces
Locked
siva82kb
Posts: 1
Joined: 26 May 2014, 15:11

Problems with buildmex in MATLAB

Post by siva82kb » 27 May 2014, 07:10

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.

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: Problems with buildmex in MATLAB

Post by boulay » 27 May 2014, 21:36

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?

Locked

Who is online

Users browsing this forum: No registered users and 2 guests