I’ve been trying to analyse my fmriprepped data in SPM and keep on running into error messages. One of them is that the confound regressors cannot be read. I created a txt file containing those confounds I wish to regress out, including the first six a_comp_cors and the six usual movement regressors.
Wherever I look, the regressors are stored in txt files in a column wise format (?) but please correct me if I am wrong.
Unknown text on line number 1 of ASCII file
I don’t even understand why matlab is unable to read the file properly, when it can clearly tell me the content of the first element in the txt file. Should I save my files as .mat instead?
I found the problem: The txt file is not meant to come with headers. I saved the regressors again as a txt without headers and it worked. Although I do think that is a little counterintuitive.