pop_loadbv import error

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 Kommentare

Ive J
Ive J am 15 Aug. 2020
Bearbeitet: Ive J am 15 Aug. 2020
poploadbv is not a MATLAB built-in function. You may find your answer by posting an issue here:https://github.com/sccn/eeglab
ET
ET am 15 Aug. 2020
Thanks, I already have eeglab toobox. I think poploadbv is not the error since I can locate the eeg file. The problem is that it can't read the eeg file properly.
Ive J
Ive J am 16 Aug. 2020
Bearbeitet: Ive J am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Gefragt:

ET
am 15 Aug. 2020

Kommentiert:

ET
am 16 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by