Dear Siri,

For this to work properly EEGLAB's subdirectories should also be in the path. You can run 'eeglab' and close the window, then run SPM and do your conversion. It should then work.

Vladimir


On Mon, Jan 20, 2014 at 9:42 AM, Ranlund, Siri <[log in to unmask]> wrote:

Dear SPM’ers,

 

I am trying to convert my raw EEG files in NeuroScan .cnt format to SPM 12, but I keep getting the error message below. I have the latest version of SPM12, and EEGLAB is installed.

Does anyone how I can solve this?

 

Many thanks for your help!

 

Best wishes,

Siri

 

 

 

SPM12b: spm_eeg_convert (v5775)                    11:18:32 - 17/01/2014

========================================================================

Error using ft_hastoolbox (line 453)

the EEGLAB toolbox is not installed, see http://www.sccn.ucsd.edu/eeglab

 

Error in ft_read_header (line 1550)

    ft_hastoolbox('eeglab', 1);

 

Error in spm_eeg_convert (line 97)

    hdr = ft_read_header(S.dataset, 'headerformat', S.inputformat);

 

Error in spm_eeg_convert (line 92)

    Dhdr              = spm_eeg_convert(S1);

 

Error in spm_eeg_convert_ui (line 26)

    D = spm_eeg_convert(fname);

 

Error in spm (line 1030)

    evalin('base',CB)

Error while evaluating uicontrol Callback