Hi Matthew,
Thank you very much for your reply. That was indeed the issue. I also had a response from Guillaume Flandin who suggested the same thing. I didn't realise the spm.mat file stored the path names but that does make sense.
Thanks again for your time,
Patricia
On 3 Dec 2012, at 18:27, "Matthew Brett" <[log in to unmask]> wrote:
> Hi,
>
> On Mon, Dec 3, 2012 at 2:53 AM, Patricia Lockwood <[log in to unmask]> wrote:
>> Dear SPM list
>>
>> I'm hoping you can help me with an error I am getting using the MarsBaR toolbox on Mac OS X.
>>
>> I am trying to to extract mean parameter estimates for an aal pick atlas mask. I have tried doing this on Matlab R2010a (32bit) & R2012a (64bit) on Mac OS X 10.8, SPM8, marsbar 0.43 and it generates the following error
>>
>> SPM present working directory:
>> ~/Documents/MATLAB
>> marsbar
>> MarsBaR analysis functions prepended to path
>> Loaded MarsBaR defaults from base defaults
>> Design reporting : ...done
>> Fetching data : 1/1 Error using spm_sample_vol
>> Cant open image file.
>
> I guess you've got windows paths in your SPM.mat file. Have you
> checked the FAQ entry?
>
> http://marsbar.sourceforge.net/faq.html#why-do-i-get-an-error-cant-open-image-file-when-estimating-a-design
>
> Best,
>
> Matthew
>
|