Page 1 of 1

Error in Matlab with offline analysis

Posted: 01 Feb 2010, 16:12
by EliGC
Hello!!
I have problems trying to read the data with the offline GUI. I have everything in the save directory, including the function load_bci and the .data files, but I´ve continued having the same error:;

Error using ==> load_bcidat
Out of memory when reading file name.

Error in ==> OfflineAnalysis>btnAdd_Callback at 791
[tmpSig, tmpStates, tmpParams,tmpNumSamps] =load_bcidat(fp, [1 1])
Thanks,
PS: I have the last BCI2000 version and Matlab 2009.

Eli

Posted: 02 Feb 2010, 11:39
by mellinger
Eliana,

when I try the offline analysis tool under Matlab R2009b, loading BCI2000 example files, it works as expected.

When you execute "load_bcidat -v" from the Matlab command line, what is the output?

--Juergen

Posted: 05 Feb 2010, 10:16
by EliGC
When I try to execute load_bcidat.m Matlab says:

- C:\...000\tools\OfflineAnalysis\load_bcidat.m is not found in the current directory or on the MATLAB path.

But the function load_bcidat, as I told you is in the same directory of the offline analysis GUI.

The other thing is that when I tried to use load_bcidat.m with other GUIs (that we programmed), I didn´t have any problem.

Thank you so much,

Eliana

Posted: 05 Feb 2010, 10:55
by mellinger
Eliana,

load_bcidat is a mex file, not a .m file. There is an associated .m file to support Matlab help, but that is not present in the Offline Analysis directory.

So, please execute the following from the Offline Analysis directory:

Code: Select all

load_bcidat -v
Juergen