Type the following to see what happens:
which ndgrid
It should produce something resembling:
MATLAB\toolbox\matlab\elmat\ndgrid.m
If not, then you probably have some sort of an ndgrid.m somewhere in your path
that is not an official part of Matlab.
Best regards,
-John
> I get the following error during smoothing:
>
> ??? Attempt to execute SCRIPT ndgrid as a function.
>
> Error in ==> c:\spm2\spm_est_smoothness.m
> On line 83 ==> [x,y] = ndgrid(1:VM.dim(1), 1:VM.dim(2));
>
> Error in ==> c:\spm2\spm_spm.m
> On line 879 ==> [FWHM,VRpv] = spm_est_smoothness(VResI,VM);
>
> What does that mean? I looked into the smoothed images but they look o.k.
> I have no clue what the problem is and how to troubleshoot. So, any help
> would be great!!!
|