POP_LOADEEG Load a Neuroscan .EEG file (via a pop-up window if no arguments). Calls loadeeg().


Usage: >> EEG = pop_loadeeg; % pop-up data entry window
>> EEG = pop_loadeeg( filename, filepath, range_chan, range_trials, range_typeeeg, range_response, format); % no pop-up window

Graphic interface:
"Data precision in bits..."   
[edit box] data binary format length in bits. Command line equivalent: 'format'
"Trial range subset"   
[edit box] integer array. Command line equivalent: 'range_trials'
"Type range subset"   
[edit box] integer array. Command line equivalent: 'range_typeeeg'
"Electrode subset"   
[edit box] integer array. Command line equivalent: 'range_chan'
"Response range subset"   
[edit box] integer array. Command line equivalent: 'range_response'

Inputs:
filename   
['string'] file name
filepath   
['string'] file path
range_chan   
[integer array] Import only selected electrodes Ex: 3,4:10; {Default: [] -> import all}
range_trials   
[integer array] Import only selected trials { Default: [] -> import all}
range_typeeeg   
[integer array] Import only trials of selected type {Default: [] -> import all}
range_response   
[integer array] Import only trials with selected response values {Default: [] -> import all}
format   
['short'|'int32'] data binary format (Neuroscan 4.3 saves data as 'int32'; earlier versions save data as 'short'. Default is 'short'.

Outputs:
EEG   
eeglab() data structure

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See also: loadeeg(), eeglab()

See the matlab file pop_loadeeg.m (may require other functions)

Back to functions