Clear Filters
Clear Filters

pop_loadbv import error

10 views (last 30 days)
ET
ET on 15 Aug 2020
Commented: ET on 16 Aug 2020
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:
Do I need to download a toolbox containing the fgetline function? Where can I get it? Or, there is other problem. Thanks,
  4 Comments
Ive J
Ive J on 16 Aug 2020
Edited: Ive J on 16 Aug 2020
which fgetl
check above to see how many fgetl functions you have. Seems your function readbvconf calls another fgetl version. In case it found more > 1 functions, try to temporarily rename them (to force MATLAB to use built-in version) and see what happens.
ET
ET on 16 Aug 2020
Thanks, I found that I didn't have all the eeglab functions, probably because of the previous pathdef error. After downloading and set path to the most current eeglab, I experience no problem. Thanks, lve lve.

Sign in to comment.

Answers (0)

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!