MATLAB Answers

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

조회 수: 5(최근 30일)
Baris Akin
Baris Akin 3 Jan 2020
댓글: Baris Akin 3 Jan 2020
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

표시 이전 댓글 수: 1
Baris Akin
Baris Akin 3 Jan 2020
Thanks for your helps. What a direction should I follow to handle this problem 🤔
Walter Roberson
Walter Roberson 3 Jan 2020
eloc=readlocs('eeg59.loc');
Notice I changed your "eeg59.loc" to 'eeg59.loc' -- the kind of quotation marks is important.
Baris Akin
Baris Akin 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!

로그인 to comment.

답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by