help > Error: Index exceeds the number of array elements
May 17, 2021  04:05 PM | Johnny Ng
Error: Index exceeds the number of array elements
I am new to conn. I have a set of data already in mni space. When I ran the "Setup", in the Preprocessing I just chose "functional Label current functional files as "mni-space data" & functional Segmentation (Gray/White/CSF segmentation). This step was going through without any trouble. However, when I clicked "Done", it went to the end but gave me the following error:

ERROR DESCRIPTION:

Index exceeds the number of array elements (0).
Error in conn (line 5897)
CONN_h.menus.m_preproc.Xs=spm_get_data(CONN_h.menus.m_preproc.XS(1),pinv(CONN_h.menus.m_preproc.XS(1).mat)*xyz');
Error in conn (line 5747)
if ~conn_projectmanager('ispending')&&~ispending, conn gui_preproc;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN20.b
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2020a
project: CONN20.b

Does anyone has the same problem? What should I do to correct this error?

John

Threaded View

TitleAuthorDate
Error: Index exceeds the number of array elements
Johnny Ng May 17, 2021
Alfonso Nieto-Castanon Nov 25, 2023
Clément DONDÉ Sep 16, 2021
Xia Lingjun Nov 21, 2023
Aishwarya Vijayan Apr 9, 2024