Hi,
it looks like you are calling an old version of spm_vol from a Marsbar
directory that is labelled "spm99". This likely is the problem as the
4th argument in the dimension was only introduced later. Try adding only
spm8 to the matlab path, it will handle the toolboxes itself.
Cheers,
Marko
Richard Binney wrote:
> Hi,
>
> I have been using this pipeline without any problems whatsoever.
> suddenly, it errors. I've tried subjects on which it worked perfectly
> before and it won't run them.
>
> the error is below.
>
> I will try a reinstall.
>
> any advice very welcome.
>
> Richard
>
> Failed 'VBM8 Realign: Estimate & Reslice'
> Attempted to access V.dim(4); index out of bounds because numel(V.dim)=3.
> In file "C:\Program
> Files\MATLAB\R2012a\toolbox\spm8\toolbox\marsbar\spm99\spm_write_vol.m"
> (???), function "spm_write_vol" at line 22.
> In file "C:\Program Files\MATLAB\R2012a\toolbox\spm8\spm_reslice.m"
> (v4179), function "reslice_images" at line 249.
> In file "C:\Program Files\MATLAB\R2012a\toolbox\spm8\spm_reslice.m"
> (v4179), function "spm_reslice" at line 122.
> In file "C:\Program
> Files\MATLAB\R2012a\toolbox\spm8\toolbox\vbm8\cg_run_realign_estwrite.m"
> (v432), function "cg_run_realign_estwrite" at line 41.
>
> No executable modules, but still unresolved dependencies or incomplete
> module inputs.
> The following modules did not run:
> Failed: VBM8 Realign: Estimate & Reslice
> Skipped: VBM8 Realign: Estimate & Reslice
> Skipped: Intra-subject bias correction
> Skipped: VBM8: Estimate & Write
> Skipped: VBM8: Estimate & Write
> Skipped: VBM8 Realign: Estimate
> Skipped: Apply Deformations (Many images)
> Skipped: Move/Delete Files
>
> Failed 'Process longitudinal data'
> Error using cfg_util (line 835)
> 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 #1
> ------------------
>
> In file "cfg_util.m" (v4252), function "cfg_util" at line 835.
> In file "spm_jobman.m" (v4242), function "spm_jobman" at line 217.
> In file "cg_vbm8_longitudinal_multi_run.m" (v431), function
> "cg_vbm8_longitudinal_multi_run" at line 23.
>
> The following modules did not run:
> Failed: Process longitudinal data
>
> Error using cfg_util (line 835)
> 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 #1
> ------------------
>
>
> Error in spm_jobman (line 208)
>
--
____________________________________________________
PD Dr. med. Marko Wilke
Facharzt für Kinder- und Jugendmedizin
Leiter, Experimentelle Pädiatrische Neurobildgebung
Universitäts-Kinderklinik
Abt. III (Neuropädiatrie)
Marko Wilke, MD, PhD
Pediatrician
Head, Experimental Pediatric Neuroimaging
University Children's Hospital
Dept. III (Pediatric Neurology)
Hoppe-Seyler-Str. 1
D - 72076 Tübingen, Germany
Tel. +49 7071 29-83416
Fax +49 7071 29-5473
[log in to unmask]
http://www.medizin.uni-tuebingen.de/kinder/epn/
____________________________________________________
|