Hi,
> The message comes from spm_sample_vol.c line 26. It follows the call
> 22 map=get_maps(prhs[0], &n);
> 23 if (n!=1)
> 24 {
> 25 free_maps(map, n);
> 26 mexErrMsgTxt("Bad Image Dimensions");
> 27 }
Strange; I get:
mexErrMsgTxt("Bad image handle dimensions.");
for line 26 of that file.
Anyway, it looks like the code is checking if you have passed more
than one (or less than one) vol_struct to the function; is that
possible?
|