help > RE: Error importing SPM.mat file
Nov 27, 2014  03:11 AM | Alfonso Nieto-Castanon - Boston University
RE: Error importing SPM.mat file
Hi Xiaozhen,

This request has come up in the past, so I am attaching a patch that should allow you to enter multiple SPM.mat files per subject (in the way that you describe, simply define batch.spmfiles{nsub}{nsession}=filename for each subject/session combination). Simply copy the attached file into the CONN distribution folder overwriting the file with the same name there. Let me know if everything works as expected and I will have this added to the next release of the toolbox as well. 

Best
Alfonso


Originally posted by Xiaozhen You:
Thank you Alfonso! Yes indeed that was the issue! :)
I commented out that line in the "New" step which caused the problem.

Regarding can subjects have 2 SPM.mat file referring two different task(sessions)? 
Seems not feasible at this point except treating each task as from a different subject for setup?

Thanks!
Attachment: conn_importspm.m

Threaded View

TitleAuthorDate
Xiaozhen You Nov 25, 2014
Xiaozhen You Nov 26, 2014
RE: Error importing SPM.mat file
Alfonso Nieto-Castanon Nov 27, 2014
Xiaozhen You Dec 9, 2014
Alfonso Nieto-Castanon Dec 10, 2014
Alfonso Nieto-Castanon Dec 10, 2014
Xiaozhen You Dec 10, 2014
Alfonso Nieto-Castanon Dec 12, 2014
Xiaozhen You Dec 23, 2014
Xiaozhen You Dec 23, 2014
Alfonso Nieto-Castanon Dec 24, 2014
Xiaozhen You Dec 31, 2014
Alfonso Nieto-Castanon Dec 31, 2014
Xiaozhen You Jan 1, 2015
Alfonso Nieto-Castanon Jan 1, 2015
Xiaozhen You Jan 2, 2015
Alfonso Nieto-Castanon Jan 3, 2015
Xiaozhen You Jan 5, 2015
Xiaozhen You Jan 6, 2015
Alfonso Nieto-Castanon Jan 15, 2015
Xiaozhen You Jan 15, 2015
Xiaozhen You Dec 17, 2014
Xiaozhen You Nov 27, 2014
Alfonso Nieto-Castanon Nov 26, 2014