Print

Print


Hello All-

I am trying run VBM in SPM8.   Out of the batch, I am running the "New Segment" function and am getting the following error:


Failed  'New Segment'
Error using sqrtm (line 35)
Expected input to be finite.
In file "/Applications/MATLAB_R2016a.app/toolbox/matlab/matfun/sqrtm.m" (???), function "sqrtm" at line 35.
In file "/Users/bill/Desktop/spm8/toolbox/Seg/spm_maff8.m" (v4152), function "M2P" at line 250.
In file "/Users/bill/Desktop/spm8/toolbox/Seg/spm_maff8.m" (v4152), function "affreg" at line 111.
In file "/Users/bill/Desktop/spm8/toolbox/Seg/spm_maff8.m" (v4152), function "spm_maff8" at line 27.
In file "/Users/bill/Desktop/spm8/toolbox/Seg/spm_preproc_run.m" (v4677), function "run_job" at line 88.
In file "/Users/bill/Desktop/spm8/toolbox/Seg/spm_preproc_run.m" (v4677), function "spm_preproc_run" at line 30.
In file "/Users/bill/Desktop/spm8/toolbox/Seg/tbx_cfg_preproc8.m" (v4337), function "spm_local_preproc_run" at line 363.

What is strange that is that the segmentation program works fine on 90% of my brain scans but crashes with this error on about 10% and I have no idea why given that all the brains have been similarly preprocessed.

Any suggestions?

Thank you, Bill Hopkins