Print EEG fields from many EEGLAB sets

The program print_eeglab_fields is a stand-alone program for writing fields from the EEGLAB EEG data structure into a text file. A good example of its utility is to write out the number of epochs in each set from a study containing a large number of sets. After the paths for EEGLAB have been set up, it can be run by typing 'print_eeglab_fields' at the Matlab prompt. The control window shown below will be displayed.

The steps for running the program are fairly easy to follow. First browse for the top directory containing EEGLAB set files directly or in sub folders. Then input a regular expression for choosing which .set files to include. In step three simply click the 'create eeglab sets list' button and all the located sets will be listed in the scrolling window. Use the drop down menu in step 4 to select which fields should be written to the ouput text file. In step 5 browse or input the path and name of the text file for output. Lastly click on the 'Run' button to process the list of set files.

Below is the first few lines of the output for this example:

/d8b/larry/Monk_MMN/SC1/SC1_MMN_FA_OFF.set >> setname = SC1_MMN_FA_OFF trials = 122

/d8b/larry/Monk_MMN/SC1/SC1_MMN_OP_OFF.set >> setname = SC1_MMN_OP_OFF trials = 86

/d8b/larry/Monk_MMN/SC1/SC1_MMN_RE_OFF.set >> setname = SC1_MMN_RE_OFF trials = 93

/d8b/larry/Monk_MMN/SC10/SC10_MMN_FA_OFF.set >> setname = SC10_MMN_FA_OFF trials = 106

/d8b/larry/Monk_MMN/SC10/SC10_MMN_OP_OFF.set >> setname = SC10_MMN_OP_OFF trials = 128

/d8b/larry/Monk_MMN/SC10/SC10_MMN_RE_OFF.set >> setname = SC10_MMN_RE_OFF trials = 94

/d8b/larry/Monk_MMN/SC11/SC11_MMN_FA_OFF.set >> setname = SC11_MMN_FA_OFF trials = 109

/d8b/larry/Monk_MMN/SC11/SC11_MMN_OP_OFF.set >> setname = SC11_MMN_OP_OFF trials = 104

/d8b/larry/Monk_MMN/SC11/SC11_MMN_RE_OFF.set >> setname = SC11_MMN_RE_OFF trials = 110

/d8b/larry/Monk_MMN/SC12/SC12_MMN_FA_OFF.set >> setname = SC12_MMN_FA_OFF trials = 130

/d8b/larry/Monk_MMN/SC12/SC12_MMN_OP_OFF.set >> setname = SC12_MMN_OP_OFF trials = 115

/d8b/larry/Monk_MMN/SC12/SC12_MMN_RE_OFF.set >> setname = SC12_MMN_RE_OFF trials = 137

/d8b/larry/Monk_MMN/SC13/SC13_MMN_FA_OFF.set >> setname = SC13_MMN_FA_OFF trials = 115

/d8b/larry/Monk_MMN/SC13/SC13_MMN_OP_OFF.set >> setname = SC13_MMN_OP_OFF trials = 115

/d8b/larry/Monk_MMN/SC13/SC13_MMN_RE_OFF.set >> setname = SC13_MMN_RE_OFF trials = 122