<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">thanks Arno,<div><br></div><div>here is my final script (that works!) to open/re-reference continuous .set files for 12 subjects, extract 28 groups of epochs from each subject, conditional on combinations of triggers, name each epoched .set something meaningful (to me) and save after baselining, ready to be set up in a Study. the script could use refactoring (i am redundant with loops because of different array sizes in my condition/trigger combinations) but hey, it's my first one :)</div><div><br></div><div>i'm posting it to the list because several people emailed me with advice and a request to know if i got something that worked well. </div><div><br></div><div>for reference, this loads continuous .set files that are 250-300mb. the script generates 28 epoched .set files per continuous file, with .dats that range from 4-40mb in size (20 to 200 epochs). the machine is 2.8Ghz core2duo with 4gb ram, and i can run through all 12 subjects in about 20 minutes, without any out of memory errors. i'm using Matlab r2008a and <span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 12px; ">eeglab2008October01_beta.</span></div><div><br></div><div>best,</div><div>andrew</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><font class="Apple-style-span" color="#0000FF" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;"><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><span style="color: #0000ff">for</span> S = [108 109 110 111 112 113 114 115 116 119 120 121];</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> eeglab</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>%%%% Operations on .SET file.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% load a file, for example 108.set, which is not filtered and uses common vertex reference. </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> EEG = pop_loadset( </span>'filename'<span style="color: #000000">, [int2str(S),</span>'.set'<span style="color: #000000">], </span>'filepath'<span style="color: #000000">, </span>'/Users/andrew/Documents/Research/DATA/stage/'<span style="color: #000000">); </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = eeg_checkset( EEG );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% re-reference to common average reference, excluding VEOU and VEOL</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_reref( EEG, [], <span style="color: #a020f0">'refstate'</span>,0, <span style="color: #a020f0">'exclude'</span>,[65 66] );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% lookup Channel Locations</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> EEG = pop_chanedit(EEG, </span>'lookup'<span style="color: #000000">, </span>'/Users/andrew/Documents/Research/eeglab2008October01_beta/plugins/dipfit2.2/standard_BESA/standard-10-5-cap385.elp'<span style="color: #000000">);</span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% store the re-referenced, channel loaded set in ALLEEG</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% row 20 used to allow up to 19 condition/trigger groups </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 20);</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>%%%% Extraction of epochs (using 3 different loops, as arrays of</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>%%%% triggers are of different length (grouping versus single, etc)</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% Quad-trigger coded epochs (collapsed target group)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% Epoch using c (array size), Cond as name for several trigs for one Condidition</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> <span style="color: #0000ff">for</span> c = [1:4];</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> Cond = [ </span>'LVF_ConTarg_AllCue'<span style="color: #000000">; </span>'LVF_IncTarg_AllCue'<span style="color: #000000">; </span>'RVF_ConTarg_AllCue'<span style="color: #000000">; </span>'RVF_IncTarg_AllCue'<span style="color: #000000"> ];</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> trigs = [{</span>'110'<span style="color: #000000">, </span>'111'<span style="color: #000000">, </span>'112'<span style="color: #000000">, </span>'113'<span style="color: #000000">}; {</span>'120'<span style="color: #000000">, </span>'121'<span style="color: #000000">, </span>'122'<span style="color: #000000">, </span>'123'<span style="color: #000000">}; {</span>'210'<span style="color: #000000">, </span>'211'<span style="color: #000000">, </span>'212'<span style="color: #000000">, </span>'213'<span style="color: #000000">}; {</span>'220'<span style="color: #000000">, </span>'221'<span style="color: #000000">, </span>'222'<span style="color: #000000">, </span>'223'<span style="color: #000000">} ];</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_epoch(EEG, trigs(c,:), [-1 2], <span style="color: #a020f0">'newname'</span>, Cond(c,:) );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% baseline filter using pre-stimulus interval. </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% NOT working with [-1000 0] => "Wrong point range"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_rmbase( EEG, [0 250] );</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, c );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% save a new set file for the extracted epochs</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> EEG = pop_saveset( EEG, </span>'filename'<span style="color: #000000">, [int2str(S),</span>'_AVGREREF_'<span style="color: #000000">,Cond(c,:),</span>'.set'<span style="color: #000000">], </span>'filepath'<span style="color: #000000">, </span>'/Users/andrew/Documents/Research/DATA/out'<span style="color: #000000">);</span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% select the unepoched, re-referenced .SET file</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [EEG ALLEEG CURRENTSET] = eeg_retrieve(ALLEEG,20);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> <span style="color: #0000ff">end</span> </div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% Double-trigger coded epochs</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% Epoch using d (array size), Cond as name for several trigs for one Condidition</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> <span style="color: #0000ff">for</span> d = [1:8];</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> Cond =[ </span>'LVF_AllTarg_No-Cue'<span style="color: #000000"> ;</span>'LVF_AllTarg_CenCue'<span style="color: #000000">; </span>'LVF_AllTarg_ValCue'<span style="color: #000000">; </span>'LVF_AllTarg_InvCue'<span style="color: #000000">; </span>'RVF_AllTarg_No-Cue'<span style="color: #000000">; </span>'RVF_AllTarg_CenCue'<span style="color: #000000">; </span>'RVF_AllTarg_ValCue'<span style="color: #000000">;</span>'RVF_AllTarg_InvCue'<span style="color: #000000"> ]; </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> trigs =[{</span>'110'<span style="color: #000000">,</span>'120'<span style="color: #000000">}; {</span>'111'<span style="color: #000000">,</span>'121'<span style="color: #000000">}; {</span>'112'<span style="color: #000000">,</span>'122'<span style="color: #000000">}; {</span>'113'<span style="color: #000000">,</span>'123'<span style="color: #000000">}; {</span>'210'<span style="color: #000000">,</span>'220'<span style="color: #000000">}; {</span>'211'<span style="color: #000000">,</span>'221'<span style="color: #000000">}; {</span>'212'<span style="color: #000000">,</span>'222'<span style="color: #000000">}; {</span>'213'<span style="color: #000000">,</span>'223'<span style="color: #000000">} ];</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_epoch(EEG, trigs(d,:), [-1 2], <span style="color: #a020f0">'newname'</span>, Cond(d,:) );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% baseline filter using pre-stimulus interval. </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% NOT working with [-1000 0] => "Wrong point range"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_rmbase( EEG, [0 250] );</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, d );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% save a new set file for the extracted epochs</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> EEG = pop_saveset( EEG, </span>'filename'<span style="color: #000000">, [int2str(S),</span>'_AVGREREF_'<span style="color: #000000">,Cond(d,:),</span>'.set'<span style="color: #000000">], </span>'filepath'<span style="color: #000000">, </span>'/Users/andrew/Documents/Research/DATA/out/'<span style="color: #000000">);</span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% select the unepoched, re-referenced .SET file</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [EEG ALLEEG CURRENTSET] = eeg_retrieve(ALLEEG,20);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> <span style="color: #0000ff">end</span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; color: #0000ff; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% Single-trigger coded epochs (split out by cues and targets)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% Epoch using e (array size), Cond as name for several trigs for one Condidition</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> <span style="color: #0000ff">for</span> e = [1:16];</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> Cond =[</span>'LVF_ConTarg_No-Cue'<span style="color: #000000">; </span>'LVF_ConTarg_CenCue'<span style="color: #000000">; </span>'LVF_ConTarg_ValCue'<span style="color: #000000">; </span>'LVF_ConTarg_InvCue'<span style="color: #000000">; </span>'LVF_IncTarg_No-Cue'<span style="color: #000000">; </span>'LVF_IncTarg_CenCue'<span style="color: #000000">; </span>'LVF_IncTarg_ValCue'<span style="color: #000000">; </span>'LVF_IncTarg_InvCue'<span style="color: #000000">; </span>'RVF_ConTarg_No-Cue'<span style="color: #000000">; </span>'RVF_ConTarg_CenCue'<span style="color: #000000">; </span>'RVF_ConTarg_ValCue'<span style="color: #000000">; </span>'RVF_ConTarg_InvCue'<span style="color: #000000">; </span>'RVF_IncTarg_No-Cue'<span style="color: #000000">; </span>'RVF_IncTarg_CenCue'<span style="color: #000000">;</span>'RVF_IncTarg_ValCue'<span style="color: #000000">;</span>'RVF_IncTarg_InvCue'<span style="color: #000000"> ];</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> trigs =[{<span style="color: #a020f0">'110'</span>}; {<span style="color: #a020f0">'111'</span>}; {<span style="color: #a020f0">'112'</span>}; {<span style="color: #a020f0">'113'</span>}; {<span style="color: #a020f0">'120'</span>}; {<span style="color: #a020f0">'121'</span>}; {<span style="color: #a020f0">'122'</span>}; {<span style="color: #a020f0">'123'</span>}; {<span style="color: #a020f0">'210'</span>}; {<span style="color: #a020f0">'211'</span>}; {<span style="color: #a020f0">'212'</span>}; {<span style="color: #a020f0">'213'</span>}; {<span style="color: #a020f0">'220'</span>}; {<span style="color: #a020f0">'221'</span>}; {<span style="color: #a020f0">'222'</span>}; {<span style="color: #a020f0">'223'</span>} ];</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_epoch(EEG, trigs(e,:), [-1 2], <span style="color: #a020f0">'newname'</span>, Cond(e,:) );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% baseline filter using pre-stimulus interval. </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% NOT working with [-1000 0] => "Wrong point range"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> EEG = pop_rmbase( EEG, [0 250] );</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, e );</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% save a new set file for the extracted epochs</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(160, 32, 240); "><span style="color: #000000"> EEG = pop_saveset( EEG, </span>'filename'<span style="color: #000000">, [int2str(S),</span>'_AVGREREF_'<span style="color: #000000">,Cond(e,:),</span>'.set'<span style="color: #000000">], </span>'filepath'<span style="color: #000000">, </span>'/Users/andrew/Documents/Research/DATA/out'<span style="color: #000000">);</span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(34, 139, 34); "><span style="color: #000000"> </span>% select the unepoched, re-referenced .SET file</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> [EEG ALLEEG CURRENTSET] = eeg_retrieve(ALLEEG,20);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> <span style="color: #0000ff">end</span> </div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "> ALLEEG = pop_delset( ALLEEG, [1:20] )</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; color: rgb(0, 0, 255); ">end</div><div><br></div></span></font></span></font></div></div></body></html>