[Eeglablist] STUDY design issue - Duplicate Entry detected in new design...

James Jones-Rounds jj324 at cornell.edu
Tue Jun 24 07:15:35 PDT 2014

Hello all,

I am trying to build a STUDY, and I use the following code to build it from
the command line (see below). Once it's built, I load it via the EEGLAB GUI
and try to specify the designs I'm interested in. Once I click 'OK' in the
design editing GUI window, MATLAB gets stuck in an infinite loop, with this
warning code appearing repeatedly:

Duplicate entry detected in new design, reinitializing design with new file
Note: duplicate 'key', 'val' parameter(s), keeping the last one(s)

I don't think it's a bug - I think it's an issue with my STUDY - but I've
never had this issue before.
Once I cancel the MATLAB code, line 350 of the "std_makedesign" command
seems to be where it gets stuck :

[STUDY com] = std_makedesign(STUDY, ALLEEG, designind, orivarargin{:},
            'defaultdesign', 'forceoff');

Here is the code I use to build the STUDY:

 % Add datasets to STUDY structure
          [STUDY, ALLEEG] = std_editset(STUDY, ALLEEG, 'name', 'myStudy',
'filepath', ...
              'filename', 'MyStudy', 'commands', {'index', index, 'load',
strcat(full_path_for_this_subjects_set_files, '\', filenameEEG), 'subject',
participant_string_from_folder_name, 'inbrain', 'on', 'dipselect', .28});

Any insight y'all can provide is greatly appreciated!


James Jones-Rounds
Laboratory Manager
Human Development EEG and Psychophysiology (HEP) Laboratory,
Department of Human Development,
Cornell University | Ithaca, NY
eeg at cornell.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140624/5ec5414a/attachment-0001.html>

More information about the eeglablist mailing list