[Eeglablist] pop_importdata

arno arno at salk.edu
Thu Mar 30 07:58:31 PST 2006


>               I have been succesful in loading & fully analyzing some
> continuous matlab data (6x140140 double) into EEG lab using
> the GUI.  I would now like to combine all these steps into a
> script using the command line.  When I use the command:
>
> EEG_raw =
> pop_importdata('dataformat','matlab','setname','eeg_data','data',A,'nbchan',6,'pnts',1001,'srate',1000);
>
> I can view it easily enough but I think eeglab is seeing it as one single
> trial, whereas the GUI version of pop_importdata worked flawleslly.
>   
This is because, you have to run the eeg_checkset() function after 
reading the data to reshape the data array in case you imported data 
epochs. I agree that this is not very natural.

EEG_raw = eeg_checkset(EEG_raw);

Best regards,

Arno



More information about the eeglablist mailing list