You are welcome I am glad it worked. The m-file is merely a help file
and need not be removed. The important thing is that matlab is made
aware of the mexmaci-file, if that is the case then it will
automatically pick the right one.
Best
Torben
On 18 Apr 2007, at 01:02, Lee Walsh wrote:
> Ah Ha!!
>
> MatLab was trying to use the .m files. Deleting the .m-files and
> non .mexmaci binaries and then deleting and re-adding the path
> entry that points to spm5/ (restart MatLab before re-adding) seems
> to have solved the problem :) Maybe I didn't need to delete those
> files, but who cares it's working.
>
> Torben, you're a Champion!
>
> Thanks to everyone else who also offered assistance.
>
> Thanks
> Lee.
>
>
> Torben Ellegaard Lund wrote:
>> Hi Lee
>>
>> What happens if you write:
>>
>> >> which spm_sample_vol
>>
>> I get:
>>
>> /Applications/Matlab/spm5/spm_sample_vol.mexmaci
>>
>>
>> Best
>> Torben
>>
>> Den 17/04/2007 kl. 9.36 skrev Lee Walsh:
>>
>>> Torben,
>>>
>>> No good unfortunately, same error.
>>>
>>> -----
>>> ??? Error using ==> spm_sample_vol at 36
>>> spm_sample_vol.c not compiled - see Makefile
>>>
>>> Error in ==> spm_get_data at 41
>>> Y(i,:) = spm_sample_vol(V(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
>>>
>>> Error in ==> spm_getSPM at 525
>>> Z = min(Z,spm_get_data(xCon(i).Vspm,XYZ));
>>>
>>> Error in ==> spm_results_ui at 264
>>> [SPM,xSPM] = spm_getSPM;
>>>
>>> ??? Error using ==> [hReg,xSPM,SPM] = spm_results_ui;
>>> Error using ==> spm_sample_vol at 36
>>> spm_sample_vol.c not compiled - see Makefile
>>>
>>> ??? Error while evaluating uicontrol Callback
>>> -----
>>>
>>>
>>> Any other ideas? I'm beginning to think that it might be a
>>> matlab configuration problem.
>>>
>>> Thanks
>>> Lee.
>>>
>>> On 16/04/2007, at 11:14 PM, Torben Lund wrote:
>>>
>>>> Hi Lee
>>>>
>>>> I did compile SPM5 for Matlab 2007b, and John was kind enough to
>>>> put a zip file with the compiled mexmaci files on the web. You
>>>> should be able to find them here:
>>>>
>>>> ftp://ftp.fil.ion.ucl.ac.uk/spm/spm5_updates
>>>>
>>>> please let me know if you have any problems.
>>>>
>>>> Best
>>>> Torben
>>>>
>>>> On 16 Apr 2007, at 14:33, Lee Walsh wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Has anyone had any luck getting SPM5 to run on MATLAB R2007a on
>>>>> an Intel Mac? I have successfully compiled the .mexmaci files
>>>>> without error and installed them. SPM will start but if I try
>>>>> to do anything that requires a compiled resource I get an error
>>>>> telling me I have not compiled that resource. As far as I can
>>>>> tell I have compiled and installed correctly, although it is
>>>>> difficult to know because this is poorly documented at the moment.
>>>>>
>>>>> Can anyone help?
>>>>>
>>>>> Thanks in advance
>>>>> Lee.
>>>>
>>
>>
>
> --
> Lee Walsh
> Prince of Wales Medical Research Institute
> Sydney, Australia
> Ph: +61 2 9399 1014
> Fax: +61 2 9399 1027
> Email: [log in to unmask]
|