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.