[Eeglablist] pop_loadbv import error

Eric Tsang ew_tsang at yahoo.com
Tue Aug 18 08:26:38 PDT 2020


Hi Andreas,       Many thanks, yes the error was due to set path error. I used an older version of eeglab which has the pathdef.m error. I just uploaded the latest eeglab2020 and the problem was solved. Once again. thanks,
Eric 

    On Tuesday, August 18, 2020, 11:12:40 p.m. GMT+8, Andreas Widmann <widmann at uni-leipzig.de> wrote:  
 
 Hi Eric,

indeed there is no fgetline MATLAB function. I assume you have a modified version of fgetl.m somewhere on your path. Could you please send the output of

which fgetl

on the MATLAB command line? What are your MATLAB, EEGLAB, and bva-io plugin versions?

Best,
Andreas

> Am 16.08.2020 um 00:16 schrieb Eric Tsang <ew_tsang at yahoo.com>:
> 
> Hello friends, I am trying to import Brain Vision EEG data using the poploadbv function using the following lines.
> twd = [472000 1040000];%the sample window to extract data
> sub = '08022018_LN038';
> EEG = pop_loadbv(['C:\Users\Tim9525\Desktop\LN038\'],[sub,'.vhdr'], twd, []);
> Matlab returns with the error:
> 
> 
> Unrecognized function or variable 'fgetline'.
> 
> Error in fgetl (line 23)
> y = fgetline(fid);
> 
> Error in readbvconf (line 50)
> raw = [raw; {fgetl(IN)}];
> 
> Error in pop_loadbv (line 83)
> hdr = readbvconf(path, hdrfile);
> 
> 
> Do I need to download a toolbox containing the fgetline function? Where can I get it? Or, there is other problem. Thanks,
> 
> _______________________________________________
> 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
> 
  


More information about the eeglablist mailing list