help > Import first level SPM.mat into conn
Nov 25, 2013  01:11 AM | Hilary Marusak
Import first level SPM.mat into conn
Dear all,

I am trying to import my individual subject SPM.mats into conn to do a task functional connectivity analysis (1 session/subject). 

I am able to import the SPM.mats in the 'Setup', and when I click 'Done', there are some errors:

>>>
CONN: RUNNING SETUP STEP
SOME ERROR FOUNDS!: Please revise the Setup information
ERROR: Subject 1 Session 1 first-level covariate SPM covariates mismatched dimensions (0 rows, while functional data has 381 scans; the number of rows of a first-level covariate should equal the number of scans for this subject/session)
<<<

The first level covariate I added is the realignnment (rp) file for that participant, and it seems to be erroring out for some reason. 

When I try preprocessing there is a second error:

>>>
Error using horzcat
Dimensions of matrices being concatenated are not
consistent.

Error in conn (line 1055)
conn_menu('updatehist',CONN_h.menus.m_preproc_00{16},{[b1(1),b1,b1(end)],[0,a1,0],[0,a0,0]});
Error in conn_menumanager (line 112)
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
Error while evaluating figure WindowButtonUpFcn 
<<<

I would be very grateful if anyone could help me to understand why these errors are occurring- or if anyone has had success importing an SPM first level into Conn.

Thank you!

Threaded View

TitleAuthorDate
Import first level SPM.mat into conn
Hilary Marusak Nov 25, 2013
Alfonso Nieto-Castanon Nov 28, 2013