<div dir="ltr"><div class="gmail_default" style="color:rgb(51,51,153)">In your case it's easy to solve Rocio....<br></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">In a matlab script:</div><div class="gmail_default" style="color:rgb(51,51,153)">Make a variable with a list of all the .set files in your directory</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">Then make a for loop through the filennames, and one at a time during each single loop do the following:</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">*****************************************************<br></div><div class="gmail_default" style="color:rgb(51,51,153)">run the function to load a file (get from eegh output after running from gui once)</div><div class="gmail_default" style="color:rgb(51,51,153)">run the function to export the .set file as a .txt file(s)</div><div class="gmail_default" style="color:rgb(51,51,153)">close the current .set file / clear eeglab</div><div class="gmail_default" style="color:rgb(51,51,153)">*******************************************</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">repeat the above loop for all your .set files.</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">By scripting and looping, many things can be automatized, and Makoto's notes and the wide range of matlab tutorials can help. See also the eeglab tutorials for scripting with eeglab.</div><div class="gmail_default" style="color:rgb(51,51,153)">In all cases, you can build your own script by doing all steps for one file from the gui, then type eegh in the command line to get the recent commands that were run, and mimic that in your script.</div><div class="gmail_default" style="color:rgb(51,51,153)">You can find tons of looping examples and tutorials by googling. The idea is to just have a few variables that change each loop.</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">Last, i would say if 100 files converting one file at a time (<2 hours manually) drives you crazy, </div><div class="gmail_default" style="color:rgb(51,51,153)">more time in zen training may be necessary. Practice till 1000 or more only make you crazy :)</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">ps There used to be a plugin called Nightmanager for eeglab that batched things.</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">pps try making an example code and let the list know if it works and if you have more questions. Perhaps provide an example that works for you?</div><div><br></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div></div>