On Fri, 28 Apr 2006, Mithun Mukherjee wrote:
> Hi SPMers
>
> I'm using an Apple G5 with Mac OSX 10.4.
> I downloaded and compiled SPM5b without errors. I also downloaded the SPM
> Updates/ Bug fixes (Updates_456) .
You should probably download SPM5 and not SPM5b. Then apply the updates
again to SPM5, and you should be fine.
>
> My problem is that when trying to segment (and normalise) an image, the
> process seems to run right through until the very end when I get an error
> related to a function "write_hdr_raw" that does not exist anywhere and is
> called from create.m in the Updates_456/@nifti directory.
>
> Is this a Mac related bug ?
>
> Thanks for your help.
> Mithun
>
>
> SPM present working directory:
> /Applications/MATLAB701
> --------------------------
> Running "Segment"
> ??? Undefined command/function 'write_hdr_raw'.
>
> Error in ==> nifti.create>create_each at 27
> ok = write_hdr_raw(fname,obj.hdr,dt(end-1)=='B');
>
> Error in ==> nifti.create at 15
> create_each(obj(i));
>
> Error in ==> spm_create_vol>create_vol at 152
> create(N);
>
> Error in ==> spm_create_vol at 16
> v = create_vol(V(i));
>
> Error in ==> spm_preproc_write>preproc_apply at 96
> VB = spm_create_vol(VB);
>
> Error in ==> spm_preproc_write at 24
> preproc_apply(p(i),opts,b0);
>
> Error in ==> spm_config_preproc>execute at 478
> spm_preproc_write(sn,job.output);
>
> 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_struct at 1351
> run_struct1(c);
>
> ??? Error while evaluating uicontrol Callback.
>
>
>
--
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
|