mri_vol2surrf operates on volumetric data. If your data is not volumetric, then you can't use it. If it is volumetric but not stored on disk in a volume format (eg, nii. mgz), then you cannot use it directly. If you can write out your data in such a format, then you can use it.
On 11/11/15 6:51 AM, Fatemeh.Molaei-Vaneghi wrote:
What is saved in Matlab cell arrays is simply volumetric SPM data for different subjects, ROIs, and etc. For example I have "data {subject no.,contrast no.}{roi, hemisphere}" which is a 2D cell with each cell being a cell too. What I want is run mri_vol2surf for each of these subjects, each of these contrasts, each of these ROIs, each of these hemispheres, and finally for each of 9 intermediate surfaces.
I already tried "system","unix", and "!" in order to run unix commands in Matlab, not successful either. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer