Hi, I just installed matlab 7.5b on my Intel mac running Leopard. I installed spm5 and all the updates. The software starts but I get the below error when I try DICOM import. the error mentions the need to compile the software but I can't figure out how to do that (even following the wiki book it doesn't work since it gives me a permission error with /urs/bin/mex. Any idea how to get it to work?

Thanks!

Running "DICOM Import"
   Changing directory to: /Users/andrew/Documents/fMRIdata/12_4_07/Analysis/Rest/
Warning: FINITE is obsolete and will be removed in future versions. Use
ISFINITE instead.
> In file_array.subsasgn>subfun at 95
  In file_array.subsasgn at 63
  In spm_dicom_convert>convert_mosaic at 195
  In spm_dicom_convert at 41
  In spm_config_dicom>convert_dicom at 130
  In spm_jobman>run_struct1 at 1585
  In spm_jobman>run_struct1 at 1595
  In spm_jobman>run_struct1 at 1595
  In spm_jobman>run_job at 480
  In spm_jobman>serial at 2174
  In spm_jobman at 80
??? Error using ==> mat2file at 16
mat2file.c not compiled - see Makefile

Error in ==> file_array.subsasgn>subfun at 125
    mat2file(sobj,dat,va{:});

Error in ==> file_array.subsasgn at 63
        subfun(sobj,double(dat),args{:});

Error in ==> spm_dicom_convert>convert_mosaic at 195
    dat(:,:,:) = volume;

Error in ==> spm_dicom_convert at 41
    convert_mosaic(mosaic,root_dir,format);

Error in ==> spm_config_dicom>convert_dicom at 130
spm_dicom_convert(hdr,'all',root_dir,job.convopts.format);

Error in ==> spm_jobman>run_struct1 at 1585
        feval(prog,val);

Error in ==> spm_jobman>run_struct1 at 1595
            run_struct1(c.val{i},gui);

Error in ==> spm_jobman>run_struct1 at 1595
            run_struct1(c.val{i},gui);

Error in ==> spm_jobman>run_job at 480
    run_struct1(c,gui);

Error in ==> spm_jobman>serial at 2174
run_job(jobs);

Error in ==> spm_jobman at 80
                serial(varargin{2:nargin});

??? Error while evaluating uicontrol Callback

>> 

On Feb 4, 2008 7:13 AM, Torben Ellegaard Lund <[log in to unmask]> wrote:
Dear all

There is no need to compile SPM5, and even less reason to run it on
via parallels, when you are using an intel mac. The necessary mexmaci
files are already icluded in Update 1111.

Best
Torben




Torben Ellegaard Lund
Assistant Professor, PhD
The Danish National Research Foundation's Center for Functionally
Integrative Neuroscience (CFIN)
Aarhus University
Aarhus University Hospital
Building 30
Noerrebrogade
8000 Aarhus C
Denmark
Phone: +4589494380
Fax: +4589494400
http://www.cfin.au.dk
[log in to unmask]


On 04/02/2008, at 11.09, Lilianne R. Mujica-Parodi wrote:

> I also had a problem with this. My solution was to use Parallels.
> Lilly
> Sent via BlackBerry by AT&T
>
> -----Original Message-----
> From:         Robert Herold <[log in to unmask]>
>
> Date:         Mon, 4 Feb 2008 09:46:30
> [log in to unmask]">To:[log in to unmask]
> Subject: [SPM] spm on intel mac
>
>
> Hello all SPM'ers,
> I am trying to install spm5 on an intel mac according to spm
> wikibooks (http://en.wikibooks.org/wiki/SPM/Installation_on_Mac_OS_%28Intel%29
>  <http://en.wikibooks.org/wiki/SPM/Installation_on_Mac_OS_%28Intel
> %29> ). When I run the command "make PLATFORM=Darwin.intel" I get an
> error message:
> "Makefile:158: *** Unknowm platform Darwin.intel.  Stop."
> Has anybody experience with installation on an intel mac or a
> solution for the problem?
> My system: macosx 10.5.1, matlab 7.4 (R2007a), spm 5 with update 1111.
> Best regards,
> Robert Herold
> University of Pécs