POP_SAVESET Save one or more EEG dataset structures


Usage: >> pop_saveset( EEG ); % use an interactive pop-up window
>> EEG = pop_saveset( EEG, 'key', 'val', ...); % no pop-up

Inputs:
EEG   
EEG dataset structure. May only contain one dataset.

Optional inputs:
'filename'   
[string] name of the file to save to
'filepath'   
[string] path of the file to save to
'check'   
['on'|'off'] perform extended syntax check. Default 'off'.
'savemode'   
['resave'|'onefile'|'twofiles'] 'resave' resave the current dataset using the filename and path stored in the dataset; 'onefile' saves the full EEG structure in a Matlab '.set' file, 'twofiles' saves the structure without the data in a Matlab '.set' file and the transposed data in a binary float '.dat' file. By default the option from the eeg_options.m file is used.

Outputs:
EEG   
saved dataset (after extensive syntax checks)
ALLEEG   
saved datasets (after extensive syntax checks)

Note: An individual dataset should be saved with a '.set' file extension,
multiple datasets (at once) with a '.sets' file extension

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See also: pop_loadset, eeglab()

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

Back to functions