I have the very same problem! Hope to be able to solve it with the guidance 
from Freesurfer.

Best Regards,
Mahtab.



Friday, July 8, 2016, 01:43 +0100 from walidyassi...@gmail.com  
<walidyassi...@gmail.com>:
>Hello,
>
>Sorry for raising this questions again. I posted this questions a while ago 
>(Twice), but i haven't gotten an answer yet.
>Can i at least know if i can tweak something for this to work? or just give 
>up? 
>I tried downgrading Xquatrz, to 2.7.8, but it still doesn't work! My matlab is 
>2016a, could this be the problem?
>
>
>Thank you for letting me know
>
>WY
>
>On Sat, Jun 25, 2016 at 10:39 AM, Walid Yassin  < walidyassi...@gmail.com > 
>wrote:
>>Hello again,
>>
>>Sorry for posting twice, but does someone know what might be the problem?
>>Thank you in advance.
>>I’m trying to run recon-all -lgi - s Subjectname  on my data but i am
getting this error!
>>*******************************************************

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);


>>
ERROR:  make_roi_paths did not complete successfully!


*******************************************************


*I checked the archives and saw a reply by Marie to someone who had the
same problem.*
*She recommended changing the info inside “SearchProjectionByPial.m" in the
~/Application/freesurfer/matlab directory to:*



*******************************************************

function [verticeslist]=SearchProjectionOnPial(mesh_total,mesh_outer,perim,
step)

% step is typically set between 5 and 10. Default is 7, increasing it will
% limit redundancies in the resulting path file.

verticeslist=[];
si=max(size(perim));
for t=1:step:si
    
[nearestIndexMT,nearestValuesMT]=mesh_vertex_nearest(mesh_total.vertices,mesh_outer.vertices(perim(t),:));
    verticeslist= [verticeslist nearestIndexMT];
end
verticeslist=unique(vertices list);

*******************************************************


Which i did, but i am still getting this error!*
Any recommendations on what to do next? I am running MATLAB_R2016.

Thank you in advance,

WY
>_______________________________________________
>Freesurfer mailing list
>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 mailing list
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.

Reply via email to