Hi,
how does your Matlab path look like and how did you install the updates?
You can not place the updates in a separate folder in your Matlab path
(This was possible in previous versions of SPM, but not with SPM5).
They have to be placed in your SPM folder and this folder has to be in
your Matlab path. Updating your SPM files will not remove anything, it
will only add or replace files.
Hope this helps,
Volkmar
On Mon, 8 May 2006, Vishwadeep Ahluwalia wrote:
> Hi,
> I just installed SPM5 on MacOSX using Matlab 7.1. when i try to display any analyze or nifti images,
> i get the following errors:
> Running "Display Image"
> ??? Undefined command/function 'nifti'.
>
> Error in ==> spm_vol_nifti at 16
> N = nifti(fname);
>
> Error in ==> spm_vol>subfunc at 122
> else V = spm_vol_nifti(p,n); end;
>
> Error in ==> spm_vol>subfunc1 at 83
> v = subfunc(P(i,:));
>
> Error in ==> spm_vol>subfunc2 at 71
> V = subfunc1(P);
>
> Error in ==> spm_vol at 57
> V = subfunc2(P);
>
> Error in ==> spm_image at 305
> if ischar(P), P = spm_vol(P); end;
>
> Error in ==> spm_config_display>dispim at 97
> spm_image('init',job.data{1});
>
> Error in ==> spm_jobman>run_struct1 at 1384
> feval(prog,val);
>
> Error in ==> spm_jobman>run_struct1 at 1392
> run_struct1(c.val{i});
>
> Error in ==> spm_jobman>run_struct1 at 1392
> run_struct1(c.val{i});
>
> Error in ==> spm_jobman>run_job at 381
> run_struct1(c);
>
> Error in ==> spm_jobman>serial at 1788
> run_job(jobs);
>
> Error in ==> spm_jobman at 66
> serial(varargin{2:nargin});
>
> ??? Error while evaluating uicontrol Callback.
>
> I searched for previous posts on this issue and i came across one where nifti.m ,read_hdr.m files
> were missing. In the base version of SPM5 ,these files exist but after updating the files with the
> latest update ,the files in @nifti folder get overwritten with create.m and a private folder
> containing read_extras.m.
> Please advise!
> regards,
> Vishwadeep A.
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg
|