help > New error importing SPM.mat files into CONN
Jul 30, 2015  03:07 PM | Ruth Shaffer
New error importing SPM.mat files into CONN
Hello,

I'm working on a pipeline that will batch preprocess resting state data part in SPM12 and part in CONNv15d.  In SPM, the current selected steps include: realign, slice timing, normalization, coregistration (one for each of 2 sessions), and normalize: write.  I hope to finish preprocessing in CONN using steps: ART based motion detection and smoothing.  I have SPM.mat files created for each subject that include just a 1X6 cell variable called "matlabbatch2" (that contains fields specifying each of the 6 steps listed above, as organized by SPM batch).  However, I keep getting an error when loading the .mat files:

ERROR DESCRIPTION:

Reference to non-existent field 'SPM'.

Error in conn_importspm (line 23)
if isfield(spmfile.SPM,'xBF')&&isfield(spmfile.SPM.xBF,'UNITS'),

Error in conn (line 2369)
conn_importspm;

Error in conn_menumanager (line 119)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});


Is it possible that my SPM.mat files are not formatted correctly (even though each of the SPM steps executed)?

Thank you in advance for any help you can give me!

Best,

Ruth Shaffer

Threaded View

TitleAuthorDate
New error importing SPM.mat files into CONN
Ruth Shaffer Jul 30, 2015
Alfonso Nieto-Castanon Jul 30, 2015
Ruth Shaffer Jul 30, 2015