Hi all,
I am trying to compute LGI index using freesurfer. However i got the following error message:
*Improper assignment with rectangular empty matrix.Error in dsearchn (line 79) [d(i),t(i)] = min(sum((x-yi).^2,2));Error in mesh_vertex_nearest (line 29)nearestIndex = dsearchn(vertices,points);Error in reorganize_verticeslist (line 28) [nextindex,nextvalue]=mesh_vertex_nearest(mesh_total.vertices(remaininglist,:),mesh_total.vertices(verticeslist(start_vertex),:)); Error in make_roi_paths (line 93) reorglist = reorganize_verticeslist (mesh_total, A, mesh_outer, perim, verticeslist, step);*
Following is the information of my system:
*Linux distribution: Linux bass-comp1.cs.unc.edu http://bass-comp1.cs.unc.edu 2.6.32-431.1.2.el6.x86_64 #1 SMP Sun Nov 24 09:37:37 EST 2013 x86_64 x86_64 x86_64 GNU/LinuxSUBJECTS_DIR: /home/user_name/software/freesurfer/subjectsCurrent working directory: /server_name/user_name/data/Surface/Command used: recon-all -s subj_folder -localGI*
*Matlab version: R2013b (8.2.0.701) 64-bit (glnxa64)*
I suspect this error is caused by the Matlab and i have tried the method described in https://mail.nmr.mgh.harvard.edu/pipermail//freesurfer/2013-July/032203.html to solve it. Unfortunately, i doesn't work for me.
Any suggestions to solve it?
Thanks,
wee
Hi Wee,
We have an issue using lGI with matlab 2013 in the current version. It will be updated in the new version, but in the mean time if you want to use it, it's a very small change that you have to do. See the following post:
http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg30506.html
Or there is a note on LGI and matlab 2013 in the "Release Notes" page on the wiki.
Hope it works, let me know,
Marie
On Jan 4, 2014, at 9:31 AM, Chong-Yaw Wee <cywee2000@gmail.commailto:cywee2000@gmail.com> wrote:
Hi all,
I am trying to compute LGI index using freesurfer. However i got the following error message:
Improper assignment with rectangular empty matrix.
Error in dsearchn (line 79)
[d(i),t(i)] = min(sum((x-yi).^2,2));
Error in mesh_vertex_nearest (line 29) nearestIndex = dsearchn(vertices,points);
Error in reorganize_verticeslist (line 28) [nextindex,nextvalue]=mesh_vertex_nearest(mesh_total.vertices(remaininglist,:),mesh_total.vertices(verticeslist(start_vertex),:));
Error in make_roi_paths (line 93) reorglist = reorganize_verticeslist (mesh_total, A, mesh_outer, perim, verticeslist, step);
Following is the information of my system:
Linux distribution: Linux bass-comp1.cs.unc.eduhttp://bass-comp1.cs.unc.edu/ 2.6.32-431.1.2.el6.x86_64 #1 SMP Sun Nov 24 09:37:37 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
SUBJECTS_DIR: /home/user_name/software/freesurfer/subjects
Current working directory: /server_name/user_name/data/Surface/
Command used: recon-all -s subj_folder -localGI
Matlab version: R2013b (8.2.0.701) 64-bit (glnxa64)
I suspect this error is caused by the Matlab and i have tried the method described in https://mail.nmr.mgh.harvard.edu/pipermail//freesurfer/2013-July/032203.html to solve it. Unfortunately, i doesn't work for me.
Any suggestions to solve it?
Thanks,
wee
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu