[Eeglablist] pop_loadbv import error
Andreas Widmann
widmann at uni-leipzig.de
Tue Aug 18 08:12:38 PDT 2020
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