| POP_NEWSET | Edit/save EEG dataset structure information. |
| Usage: | >> [ALLEEG EEG CURRENTSET] = pop_newset( ALLEEG, EEG, CURRENTSET, 'key', val,...); |
| Inputs and outputs: | |
ALLEEG |
array of EEG dataset structures |
EEG |
current dataset structure or structure array |
CURRENTSET |
index(s) of the current EEG dataset(s) in ALLEEG |
| Optional inputs: | |
'setname' |
['string'] name for the new dataset |
'comments' |
['string'] comments on the new dataset |
'overwrite' |
['on'|'off'] overwrite the old dataset |
'saveold' |
['filename'] filename in which to save the old dataset |
'savenew' |
['filename'] filename in which to save the new dataset |
'retrieve' |
[index] retrieve the old dataset (ignore recent changes) |
| Note: | Calls eeg_store which may modify the variable ALLEEG containing the current dataset(s). |
| Author: | Arnaud Delorme, CNL / Salk Institute, 23 Arpil 2002 |
| See also: | eeg_store, pop_editset, eeglab() |