Hello everyone, this is my first post to your forums. I hope that this is an appropriate place to address the following issue:
I recently got the BCI2000 Offline Analysis to run under windows vista x64 and windows 7 x64. I also believe I have the EEGlabImport plugin working. I wanted to see if any one else could verify that my solution is not somehow flawed or incorrect.
1) Using MATLAB in conjunction with visual studio I compiled the mex files located in the src->tools->mex folder of my copy of the BCI2000 source files.
2) I placed these newly created mexw64 under tools->mex in my BCI2000 installation directory, allowing them to overwrite the original mex files. (Note: I am using the installation that comes with contributed code, originally installed using the installer executable.)
3) I modified the OfflineAnalysis.m file so that line 17 of the code reads as follows:
if ~strcmp(computer, 'PCWIN64') || verNum < 7
4) Following the instructions in the wiki, I placed the EEGlabImport folder
(located under the tools folder) into the plugins folder in my EEGlab install directory.
5) For some strange reason I had to modify the BCI2000Import.m file.
Originally, line 27 of the code read:
'[signal, states, parms] = load_bcidat_(files.name);'
Which I had to change to
'[signal, states, parms] = load_bcidat(files.name);'
After removing the underscore from load_bcidat in the code, all seems to be working fine.
I'm not sure if the underscore is a typo in the m code, or if I have done something wrong somewhere along the line.
I realize this may be more of a 'hack' than a final solution for my platform, but any feedback would be much appreciated.
Regards.
BCI2000 on x64 windows vista/7
-
jawilson
- Posts: 109
- Joined: 28 Feb 2005, 16:31
Hello,
I am one of the BCI2000 developers. It sounds like you have everything under control for the most part.
1) Using MATLAB in conjunction with visual studio I compiled the mex files located in the src->tools->mex folder of my copy of the BCI2000 source files.
2) I placed these newly created mexw64 under tools->mex in my BCI2000 installation directory, allowing them to overwrite the original mex files. (Note: I am using the installation that comes with contributed code, originally installed using the installer executable.)
This is fine.
3) I modified the OfflineAnalysis.m file so that line 17 of the code reads as follows:
if ~strcmp(computer, 'PCWIN64') || verNum < 7
Yes, I have done this as well to make it work on OSX or Linux. The only reason this is in place is because the load_bcidat function is only included for windows 32-bit. Since you compiled your own, it should work fine. We should change this check to see if load_bcidat exists, not the computer type.
4) Following the instructions in the wiki, I placed the EEGlabImport folder
(located under the tools folder) into the plugins folder in my EEGlab install directory.
5) For some strange reason I had to modify the BCI2000Import.m file.
Originally, line 27 of the code read:
'[signal, states, parms] = load_bcidat_(files.name);'
Which I had to change to
'[signal, states, parms] = load_bcidat(files.name);'
After removing the underscore from load_bcidat in the code, all seems to be working fine.
I'm not sure if the underscore is a typo in the m code, or if I have done something wrong somewhere along the line.
I realize this may be more of a 'hack' than a final solution for my platform, but any feedback would be much appreciated.
I wrote this plugin, and I'm not sure why the underscore was added to the code, which was done a while ago. It is not supposed to have the _, so I will change it back so that it works for everyone. Weird...
Thanks for the questions. Please let us know about your experiences with Win 7 and 64-bit. We have not really extensively tested or worked with either yet, and obviously people will be using it soon.
Thanks!
Adam
I am one of the BCI2000 developers. It sounds like you have everything under control for the most part.
1) Using MATLAB in conjunction with visual studio I compiled the mex files located in the src->tools->mex folder of my copy of the BCI2000 source files.
2) I placed these newly created mexw64 under tools->mex in my BCI2000 installation directory, allowing them to overwrite the original mex files. (Note: I am using the installation that comes with contributed code, originally installed using the installer executable.)
This is fine.
3) I modified the OfflineAnalysis.m file so that line 17 of the code reads as follows:
if ~strcmp(computer, 'PCWIN64') || verNum < 7
Yes, I have done this as well to make it work on OSX or Linux. The only reason this is in place is because the load_bcidat function is only included for windows 32-bit. Since you compiled your own, it should work fine. We should change this check to see if load_bcidat exists, not the computer type.
4) Following the instructions in the wiki, I placed the EEGlabImport folder
(located under the tools folder) into the plugins folder in my EEGlab install directory.
5) For some strange reason I had to modify the BCI2000Import.m file.
Originally, line 27 of the code read:
'[signal, states, parms] = load_bcidat_(files.name);'
Which I had to change to
'[signal, states, parms] = load_bcidat(files.name);'
After removing the underscore from load_bcidat in the code, all seems to be working fine.
I'm not sure if the underscore is a typo in the m code, or if I have done something wrong somewhere along the line.
I realize this may be more of a 'hack' than a final solution for my platform, but any feedback would be much appreciated.
I wrote this plugin, and I'm not sure why the underscore was added to the code, which was done a while ago. It is not supposed to have the _, so I will change it back so that it works for everyone. Weird...
Thanks for the questions. Please let us know about your experiences with Win 7 and 64-bit. We have not really extensively tested or worked with either yet, and obviously people will be using it soon.
Thanks!
Adam
Who is online
Users browsing this forum: No registered users and 0 guests
