Error while trying to use readlocs() function in EEGLAB and MATLAB
37 次查看(过去 30 天)
显示 更早的评论
Hi,
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:
>>eloc=readlocs("eeg59.loc")
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.
4 个评论
Walter Roberson
2020-1-3
eloc=readlocs('eeg59.loc');
Notice I changed your "eeg59.loc" to 'eeg59.loc' -- the kind of quotation marks is important.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 COM Component Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!