Print

Print


The error is because of a change of file format in the sn.mat files.  The 
jacobian.m function you are using is not part of SPM2, and it does not know 
about the new file format.

Best regards,
-John

> I have tried to modulate GM segments with the Jacobian determinant
> but the following error occure:
>
> ??? Reference to non-existent field 'Dims'.
>
> Error in ==> jacobian>init_vo at 284
>         x      = (bb(1,1):vox(1):bb(2,1))/sn3d.Dims(3,1) + sn3d.Dims(4,1);
>
> Error in ==> jacobian>write_det at 235
> VO = init_vo(sn3d,vox,bb);
>
> Error in ==> jacobian at 196
> 			write_det(sn3d(i),Vox,bb);
>
> With SPM99, the Jacobian modulation has worked in the past!
> Maybe it do not work because the name of the .mat file from normalization
> have changed ist name (from *sn3d.mat to *_sn.mat)