undefined function 'load_bcidat'

Forum for discussion on different user applications
Locked
Sabrina Walter
Posts: 3
Joined: 07 Oct 2010, 10:29

undefined function 'load_bcidat'

Post by Sabrina Walter » 04 Feb 2011, 08:04

dear all,

I get the following error message when trying to import dat-files with eeglab, although BCI2000 EEGlab-Import is installed:

eeglab error in function BCI2000import() at line 27: Undefined
command/function 'load_bcidat'.

Could you please help me with it?

Many thanks in advance,
Sabrina

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

Post by mellinger » 04 Feb 2011, 08:22

Hi Sabrina,

you need to manually add the BCI2000 tools/mex directory to your Matlab path. Then it should work.

Regards,
Juergen

Sabrina Walter
Posts: 3
Joined: 07 Oct 2010, 10:29

Post by Sabrina Walter » 07 Feb 2011, 06:47

Hi Juergen,

thanks for the quick reply. I tried various matlab version since then (e.g. 7.5 and 7.7) but it still did not work. I did what you recommended and then had the other error message

'there is no load_bcidat mex for your plattform available'

similarly to the one documented in the forum here. When I tried to act like described there, at the buildmex step it failed again.

You would make me very happy, if you could help me.

Many thanks,
Sabrina

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

Post by mellinger » 07 Feb 2011, 08:22

Sabrina,

what operating system are you using? When trying the buildmex step, how does it fail?

Regards,
Juergen

Sabrina Walter
Posts: 3
Joined: 07 Oct 2010, 10:29

Post by Sabrina Walter » 07 Feb 2011, 08:43

Hi Juergen,

I am using windows xp 2002, and the error message (in this case generated with matlab 7.1 and 7.5) is this:

??? Undefined variable "CXXFLAGS" or class "CXXFLAGS".

Error in ==> buildmex at 189
mex( options{:}, CXXFLAGS{:}, LDFLAGS{:}, INCLUDEPATHS{:}, DEFINES{:}, [target '.cpp'], MEXSRC{:} );

Error in ==> buildmex at 141
buildmex( options{:}, TARGETS{i} );

Thanks again,
Sabrina

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

Post by mellinger » 07 Feb 2011, 09:32

Hi Sabrina,

it appears you have an outdated version of the BCI2000 source code. Please update to the current SVN version, and try again.

Best regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests