why do you need to do it in matlab? Why not use a shell script (tcsh, 
sh, python, etc)? If you run it with --help, it will give you info on 
how to run it.

On 11/10/2015 12:56 PM, Fatemeh.Molaei-Vaneghi wrote:
> Dear FreeSurfers,
>
> I am using "mri_vol2surf" to map my SPM processed t images onto 9 
> intermediate surfaces created by "mris_expand". When every step is done 
> manually it works perfectly. However, for very large datasets I would need to 
> run mri_vol2surf for multiple subjects, multiple conditions, multiple ROIs, 
> and etc. Therefore, automising the command to be executed on multiple 
> datasets at once is a requirement. Unfortunately there is no Matlab function 
> for mri_vol2surf, this brings me to my question: how can I use mri_vol2surf 
> in Matlab for multiple datasets, how the command must be written, how the 
> variables and directories must be redefined so Matlab and FreeSurfer both 
> have access to what they need. In other words, how mri_vol2surf should be 
> used, either in Matlab or in shell, in order to be executed on multiple 
> datasets at once? As a side note I am using Mac OS 10.9.5 with FreeSurfer 
> v5.3.0. Thank you in advance for your guidance.
>
> Kind Regards,
>
> Fatemeh Molaei-Vaneghi
>
> Max Planck Institute for Biological Cybernetics
> Tübingen
> Germany
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/



_______________________________________________
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