<div dir="ltr">Dear Rene,<div><br></div><div>From this limited information, my first guess would be that you change the home folder path to something else to try it again. You change the current folder so that the new folder does not have space, special letters, as well as it ends with a delimiter.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 13, 2016 at 3:04 AM, René Michel <span dir="ltr"><<a href="mailto:r.michel@uni-muenster.de" target="_blank">r.michel@uni-muenster.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Sir or Madam,<br>
<br>
We are a research group from Münster (Germany) currently focussing on<br>
perception of biological motion with eeg data.<br>
<br>
After updating to the newest version of eeglab, processing eeg data with our<br>
previous script (worked quite well so far at the older version) leads to an<br>
error:<br>
<br>
The script is presented below:<br>
<br>
home.path='D:\René\Simon P300 Auswertung\Auswertung EEG\Daten vorverarbeitet<br>
in ASA\';<br>
subject.list =<br>
{'2fbpartc','4fbpartc','6fbpartci','8fbpartc','10fbpartc','12fbpartci','14fbpiartc','16fbpiartc','18fbpiartc','20fbpiartc','22fbpartc','24fbpartc'<br>
};<br>
<br>
for i = 1:12<br>
  clear EEG;<br>
  clear ERP;<br>
  sname = [home.path subject.list{i} '.cnt'];<br>
  if exist(sname, 'file')<=0<br>
<br>
  fprintf('\n *** WARNING: dataset %s does not exist *** \n', sname);<br>
  fprintf('\n *** Skip all processing for subject %s *** \n',<br>
  subject.list{i});<br>
<br>
  else<br>
  fprintf('\n****** Processing subject: %s ******\n', subject.list{i});<br>
<br>
  if exist([home.path subject.list{i} '.txt'], 'file') >=0<br>
  delete [home.path subject.list{i} '.txt'];<br>
  end<br>
<br>
  fprintf('\n******Loading dataset: %s\n******\n', subject.list{i});<br>
<br>
  EEG = pop_loadeeg(sname, 'triggerfile', 'on');<br>
<br>
<br>
<br>
This procedure leads to the following error:<br>
<br>
Error using pop_loadeeg (line 118)<br>
The file path last character must be a delimiter<br>
<br>
<br>
Looking at pop_loadegg.m leads to:<br>
<br>
EEG = eeg_emptyset;<br>
if ~isempty(filepath)<br>
    if filepath(end) ~= '/' & filepath(end) ~= '\' & filepath(end) ~= ':'<br>
        error('The file path last character must be a delimiter');<br>
    end;<br>
    fullFileName = sprintf('%s%s', filepath, filename);<br>
else<br>
    fullFileName = filename;<br>
end;<br>
<br>
<br>
We would be grateful for every advice or solution. If any important<br>
information is missing to get to a solution, just let us know!<br>
<br>
Greetings from Münster, Germany!<br>
<br>
Best regards,<br>
René Michel<br>
<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>