Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14
function this = eegobj(EEG); if nargin == 1 if isa(EEG, 'eegobj') this = EEG; return; end for index = 1:length(EEG) TMP(index).EEG = EEG(index); end else TMP.EEG = eeg_emptyset; end this = class(TMP, 'eegobj');