[Eeglablist] PCA inquiry

Ghorayeb, George Ryan gghorayeb at bwh.harvard.edu
Tue Jul 14 11:05:56 PDT 2026


Greetings,

I am writing to request your assistance regarding an issue I have encountered while attempting to perform a temporospatial PCA using EEGLab. Specifically, when trying to carry out the PCA on our dataset, I am unable to proceed beyond the step requiring the upload of a .xyzloc file. Each time I attempt to upload the file, I receive the following error message:

Error using readlocs>load_file_or_array
readlocs(): cannot find the named file or variable, check syntax

Error in readlocs (line 529)
           array = load_file_or_array( filename, g.skiplines);

Error in pop_chanedit (line 760)
                        [chans] = readlocs(tmpargs{:});

Error in Import_text_veps (line 36)
EEG = pop_chanedit(EEG,'load',{xyzLoc, 'filetype', 'xyz'},'delete',d);

Error in PCAMakeStudy (line 82)
    Import_text_veps(text_paths{j},[textfileworkspace '\'],setfilepathname,...


I have consulted several online resources and tried multiple troubleshooting approaches, but I have not been able to resolve the issue.

I would be very grateful if you could advise me on the appropriate steps to address this problem or suggest any potential causes that I should investigate.

Thank you very much for your time and assistance. I greatly appreciate your help.


Kind regards,

George



_____________________

George Ryan Ghorayeb

He/him/his

Research Assistant II, Division of Cognitive and Behavioral Neurology

Center for Brain/Mind Medicine



Brigham and Women’s Hospital

60 Fenwood Road, 9016D, Boston, MA 02115

T 6177328825, F 8573075461

brighamandwomens.org



[A blue and black logo  Description automatically generated]


The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!Mih3wA!HtaDSGK01WAdL0r74WG0wRonvJcuIk4hhu2HkWZcZVwRGI2LM8YEcpHuNuB4B3uUpeyRqTi08MOlPE25j7CJaDgiURw94Ts0$  <https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!Mih3wA!HtaDSGK01WAdL0r74WG0wRonvJcuIk4hhu2HkWZcZVwRGI2LM8YEcpHuNuB4B3uUpeyRqTi08MOlPE25j7CJaDgiURw94Ts0$ > .


More information about the eeglablist mailing list