Hello everyone,
I have written a function for VOI extraction (see attached). It runs fine
with the two following set of inputs:
extract_VOI_timeseries('HC_MM',[-15,-22,-23],1)
extract_VOI_timeseries('SPL_SCD',[15,-61,55],1)
However, when I try this:
extract_VOI_timeseries('Ang_NovRep',[39,-85,25],1)
...it won't run and I get the error messsages shown below. As far as I can
tell, matlabbatch is defined with the correct info.
Does anyone have any suggestions as to why it's not working in this case
and what I need to do to rectify the situation?
Thanks,
Lorelei
Error messages:
>> cd (PPIpath)
extract_VOI_timeseries('Ang_NovRep',[39,-85,25],1)
------------------------------------------------------------------------
Running job #2
------------------------------------------------------------------------
Running 'Volume of Interest'
## Note: this VOI facility is in a beta version. ##
## Interface and features might change in the future. ##
Failed 'Volume of Interest'
Error using ==> svd
Input to SVD must not contain NaN or Inf.
In file "C:\Program Files\SPM\spm8\spm_regions.m" (v3569), function
"spm_regions" at line 185.
In file "C:\Program Files\SPM\spm8\config\spm_run_voi.m" (v3531), function
"spm_run_voi" at line 68.
Running 'Volume of Interest'
## Note: this VOI facility is in a beta version. ##
## Interface and features might change in the future. ##
Failed 'Volume of Interest'
Error using ==> svd
Input to SVD must not contain NaN or Inf.
In file "C:\Program Files\SPM\spm8\spm_regions.m" (v3569), function
"spm_regions" at line 185.
In file "C:\Program Files\SPM\spm8\config\spm_run_voi.m" (v3531), function
"spm_run_voi" at line 68.
The following modules did not run:
Failed: Volume of Interest
Failed: Volume of Interest
??? Error using ==> cfg_util>local_runcj at 1501
Job execution failed. The full log of this run can be found in MATLAB
command window, starting with the lines (look for the line showing the
exact #job as
displayed in this error message)
------------------
Running job #2
------------------
Error in ==> cfg_util at 766
Error in ==> spm_jobman at 208
Error in ==> extract_VOI_timeseries at 74
--
Lorelei Howard
Ph.D. Student
Institute of Behavioural Neuroscience
Cognitive, Perceptual and Brain Sciences Department
University College London
26 Bedford Way
WC1H 0AP
+44 (0)20 7679 8553
|