Error while trying to use readlocs() function in EEGLAB and MATLAB

16 views (last 30 days)
In my project, ı am working with .loc files. While I am trying to read a loc file with readlocs() function ıt s throwing that error:
readlocs(): input variable must be a string or a structure
Unrecognized function or variable 'eloc'.
Error in readlocs (line 645)
for index = 1:length(eloc)
I also tried command such as readlocs("eeg59") and readlocs("eeg59","loc") but I took same errors, too. I looked for related issues in web but I cant find any related solution for this problem. ıf you can help me, I ll be very appreciate.
Baris Akin
Baris Akin on 3 Jan 2020
WOW! this was excellent. Thanks for your help, ıt has worked :) Python habits cause a night for me :) I am greatly thanks for this help!

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!