I am trying to call the Volumes toolbox in a script. Preferably, I would
like to input the SPM and the ROI variables directly to the function. I get
the below error message when using the ""tbxvol_extract"" function when
specifying only the SPM file (which I thought would open the GUI. Am I
supposed to specify something different for the input and how could I add
the ROI coordinates?
Any help is greatly appreciated.
SPM2: tbxvol_extract (v1.11) 00:57:33 - 10/07/2009
??? Attempt to reference field of non-structure array.
Error in ==> tbxvol_extract at 53
if isfield(bch.src, 'srcspm')