| POP_COPYSET | Copy the current EEG dataset into another dataset. |
| Usage: | >> ALLEEG = pop_copyset(ALLEEG, index1); % pop-up >> [ ALLEEG EEG CURRENTSET ] = pop_copyset(ALLEEG, index1, index2 ); |
| Inputs: | |
ALLEEG |
array of dataset structure |
index1 |
input dataset number |
index2 |
index of dataset to copy into |
| Inputs: | |
ALLEEG |
array of dataset structures |
EEG |
new copied structure |
CURRENTSET |
index of the new dataset |
| Note: | this function performs ALLEEG(index2) = ALLEEG(index1); with dataset checks |
| Author: | Arnaud Delorme, CNL / Salk Institute, 2001 |
| See also: | eeg_store, pop_delset, eeglab() |