help > Error: Index exceeds the number of array elements
Showing 1-4 of 4 posts
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
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
Sep 16, 2021 02:09 PM | Clément DONDÉ - CHU Grenoble Alpes
RE: Error: Index exceeds the number of array elements
Hello everyone,
I have exactly the same problem.
Does anyone has an idea?
Thanks in advance
cd
Originally posted by Johnny Ng:
I have exactly the same problem.
Does anyone has an idea?
Thanks in advance
cd
Originally posted by Johnny Ng:
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
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
Nov 21, 2023 08:11 AM | Xia Lingjun
RE: Error: Index exceeds the number of array elements
Hello everyone,
I also have the same problem.
Does anyone has an idea?
Thanks in advance!
Nov 25, 2023 12:11 AM | Alfonso Nieto-Castanon - Boston University
RE: Error: Index exceeds the number of array elements
Hi John
Not sure what this error may be about, perhaps it may indicate that the CONN GUI had been closed while preprocessing was running? (if that is the case everything should be fine and you should be able to launch the GUI again, open your project and continue normally)
Hope this helps
Alfonso
Originally posted by Johnny Ng:
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