<div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="font-size:small">Hello,<br><br></div>Please find enclosed  'ready to use' solution to convert edf files which have the same number epochs as events.<br><br><div class="gmail_default" style="color:rgb(51,51,153)">First have your eeglab data in memory then type:<br><br></div>EEG = eeg_epoch2continuous(EEG)<br><br><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap">the new EEG file will be saved as 'set' file using the following code:</span><br><br>EEG = pop_saveset( EEG,EEG.filename,'filepath', EEG.filepath);<br>                [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 1);  eeglab redraw<br><br></div><div class="gmail_default" style="font-size:small">Regards, Pawel<br></div></div>