[Eeglablist] Loading dataset problem after eeglab update

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Mar 22 02:20:14 PDT 2016


Dear Rene,

>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.

Makoto

On Sat, Feb 13, 2016 at 3:04 AM, René Michel <r.michel at uni-muenster.de>
wrote:

> Dear Sir or Madam,
>
> We are a research group from Münster (Germany) currently focussing on
> perception of biological motion with eeg data.
>
> After updating to the newest version of eeglab, processing eeg data with
> our
> previous script (worked quite well so far at the older version) leads to an
> error:
>
> The script is presented below:
>
> home.path='D:\René\Simon P300 Auswertung\Auswertung EEG\Daten
> vorverarbeitet
> in ASA\';
> subject.list =
>
> {'2fbpartc','4fbpartc','6fbpartci','8fbpartc','10fbpartc','12fbpartci','14fbpiartc','16fbpiartc','18fbpiartc','20fbpiartc','22fbpartc','24fbpartc'
> };
>
> for i = 1:12
>   clear EEG;
>   clear ERP;
>   sname = [home.path subject.list{i} '.cnt'];
>   if exist(sname, 'file')<=0
>
>   fprintf('\n *** WARNING: dataset %s does not exist *** \n', sname);
>   fprintf('\n *** Skip all processing for subject %s *** \n',
>   subject.list{i});
>
>   else
>   fprintf('\n****** Processing subject: %s ******\n', subject.list{i});
>
>   if exist([home.path subject.list{i} '.txt'], 'file') >=0
>   delete [home.path subject.list{i} '.txt'];
>   end
>
>   fprintf('\n******Loading dataset: %s\n******\n', subject.list{i});
>
>   EEG = pop_loadeeg(sname, 'triggerfile', 'on');
>
>
>
> This procedure leads to the following error:
>
> Error using pop_loadeeg (line 118)
> The file path last character must be a delimiter
>
>
> Looking at pop_loadegg.m leads to:
>
> EEG = eeg_emptyset;
> if ~isempty(filepath)
>     if filepath(end) ~= '/' & filepath(end) ~= '\' & filepath(end) ~= ':'
>         error('The file path last character must be a delimiter');
>     end;
>     fullFileName = sprintf('%s%s', filepath, filename);
> else
>     fullFileName = filename;
> end;
>
>
> We would be grateful for every advice or solution. If any important
> information is missing to get to a solution, just let us know!
>
> Greetings from Münster, Germany!
>
> Best regards,
> René Michel
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160322/52938fd2/attachment.html>


More information about the eeglablist mailing list