You shouldn't upgrade your MATLAB, but upgrading your SPM (to SPM8b) would
probably fix it ;-). When SPM5 was released, and when the last round of
fixes were released for SPM5, I didn't have access to an Intel Mac on which
to compile DARTEL. I still don't have easy access to a Mac, but Guillaume
Flandin does, and he has compiled these routines for the beta version of SPM8
- but not SPM5 yet.
I would suggest typing the following in MATLAB:
chdir /Applications/MATLAB74/work/spm5_upd1782/toolbox/DARTEL
make
If this does not work, then I (or Guillaume) will put the mexmaci files from
the SPM8b version of DARTEL in the SPM5 updates folder.
Best regards,
-John
On Tuesday 11 November 2008 17:34, Juergen Haenggi wrote:
> Dear SPM experts when running DARTEL the following error occurred:
>
> Running "Run DARTEL (create Templates)"
>
> Error running job: Error using ==> optimNn at 68
> Not compiled for MACI in MATLAB 7.4.0.287 (R2007a) (see make.m)
>
> In file "/Applications/MATLAB74/work/spm5_upd1782/toolbox/DARTEL/optimNn.m"
> (v988), function "optimNn" at line 68.
> In file
> "/Applications/MATLAB74/work/spm5_upd1782/toolbox/DARTEL/spm_dartel_smooth.
>m " (v981), function "spm_dartel_smooth" at line 29.
> In file
> "/Applications/MATLAB74/work/spm5_upd1782/toolbox/DARTEL/spm_dartel_templat
>e .m" (v1061), function "spm_dartel_template" at line 93.
> --------------------------
> Done.
>
> Where can I found the files that are compiled for MACI in MATLAB 7.4.0.287
> (R2007a)?
> Or should I upgrade my MATLAB?
>
> Thanks in advance
> Regards
> Juergen
>
> -----------------------------------------------------------
> Juergen Haenggi
> Ph.D. (Dr. des.)
> Division of Neuropsychology
> Institute of Psychology
> University of Zurich
> Binzmuehlestrasse 14, PO Box 25
> 8050 Zurich, Switzerland
> 0041 44 635 73 97 (phone office)
> 0041 76 445 86 84 (phone mobile)
> 0041 44 635 74 09 (fax office)
> BIN 4.D.04 (office room number)
> [log in to unmask] (email)
> http://www.psychologie.uzh.ch/neuropsy/ (website)
> http://www.juergenhaenggi.ch (private website)
> -----------------------------------------------------------
|