for i = right_vertices;
for j=vertices_of_interest;
command1 = ['/Applications/freesurfer_v5.3/bin/mris_pmake --subject 001 --hemi rh --surface0 white --curv0 sulc --curv1 sulc --mpmOverlay euclidean --mpmProg pathFind --mpmArgs startVertex:' num2str(i) ',' 'endVertex:' num2str(j)]
T(i)=evalc('system([command1])')
end
end
But the problem is that it is way too much time consuming and it is difficult to store the results in a matrix.
Is there a way to adapt this command for such high computations? I
Are there other ways to obtain the geodesic distance between vertices, either than mris_pmake (for example a matlab function)?
Thank you in advance,
Marica