<div dir="ltr">Hello all,<div><br></div><div>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:</div>
<div><br></div><div><div>Duplicate entry detected in new design, reinitializing design with new file names</div><div>Note: duplicate 'key', 'val' parameter(s), keeping the last one(s)</div><div><br></div><div>
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.</div><div>Once I cancel the MATLAB code, line 350 of the "std_makedesign" command seems to be where it gets stuck :</div>
<div><br></div><div>[STUDY com] = std_makedesign(STUDY, ALLEEG, designind, orivarargin{:},</div><div>            'defaultdesign', 'forceoff');</div><div><br></div><div>Here is the code I use to build the STUDY:</div>
<div><br></div><div><div> % Add datasets to STUDY structure</div><div>          [STUDY, ALLEEG] = std_editset(STUDY, ALLEEG, 'name', 'myStudy', 'filepath', ...</div><div>              'E:\myStudyFiles\',...</div>
<div>              '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});</div>
<div>          </div></div><div><br></div><div>Any insight y'all can provide is greatly appreciated!</div><div><br>James</div><div><br></div>-- <br><div dir="ltr"><div>James Jones-Rounds</div>Laboratory Manager<br>Human Development EEG and Psychophysiology (HEP) Laboratory,<div>
Department of Human Development,<br>--------------------------------------------<br>Cornell University | Ithaca, NY<br></div><div>607-255-9883</div><div><a href="mailto:eeg@cornell.edu" target="_blank">eeg@cornell.edu</a></div>
</div>
</div></div>