save_bcidat question

Forum for discussion on different user applications
Locked
xiaouli
Posts: 2
Joined: 28 Dec 2009, 03:00

save_bcidat question

Post by xiaouli » 11 Aug 2010, 00:36

Hello

in matlab the following code was written
>> save_bcidat('myfile.dat',signal, states, parameters);
??? Invalid MEX-file 'E:\bcisoft\BCI2000\tools\mex\save_bcidat.dll':

However, 'save_bcidat.dll' is in the folder.

The same problem appeared in the 'load_bcidat' calling.

I will be pleased if someone help me

Xiaouli

xiaouli
Posts: 2
Joined: 28 Dec 2009, 03:00

ask again

Post by xiaouli » 19 Aug 2010, 02:47

Someone said that the problem correlated with Matlab version.

My matlab is version 7.0.4.365(R14)

mellinger
Posts: 1210
Joined: 12 Feb 2003, 11:06

Post by mellinger » 31 Aug 2010, 09:22

Xiaouli,

we try to provide mex files that work on current Matlab releases. Unfortunately, this means that they might not work with older Matlab releases.

You will need to rebuild the mex files to work with your version of Matlab.
  • Make sure you have the Borland C++ compiler, or Visual Studio installed (it is available for free as an "Express" edition).
  • Start Matlab.
  • Change the working directory to BCI2000/src/core/tools/mex.
  • Execute "mex -setup" and choose your C++ compiler.
  • Execute "buildmex".
Now, mex files should work with your Matlab version.

Juergen

Locked

Who is online

Users browsing this forum: No registered users and 24 guests