Hi Bas,
Thank you for your prompt reply. I will try what you suggest and have contacted my system admin. I do have access rights and have also tried it on my home mac computer and it didn't work either...
I will let you know if we still cant solve it.
Thanks again,
Patricia
On 3 Dec 2012, at 10:57, "Bas Neggers" <[log in to unmask]> wrote:
> looks like a file permission issue to me ('Cant open image file'). Do you have access rights/ownership to the files you try to access? Try copying a file on the same location with your Mac.
>
> Your sysadmin should be able to tell you more.
>
> Cheers,
>
> Bas
>
>
>
> On 12/03/2012 11:53 AM, Patricia Lockwood 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.
>>
>> Error in maroi/getdata (line 104)
>> data = spm_sample_vol(data_imgs(i), ixyz(1,:),ixyz(2,:),ixyz(3,:),holdval);
>>
>> Error in maroi/get_marsy (line 76)
>> [y vals vXYZ mat] = getdata(o, VY);
>>
>> Error in marsbar (line 989)
>> marsY = get_marsy(o{:}, VY, sumfunc, 'v');
>>
>> Error in spm (line 1015)
>> evalin('base',CB)
>>
>> Error while evaluating uicontrol Callback
>>
>> So it seems fine with setting the design from a file but fails when you try the 'extract ROI (default) option'
>>
>> I have tried running the same on a Windows XP VM and on a Windows XP PC and it works, so i'm guessing theres something Mac specific that needs setting up
>>
>> Has anyone else experienced this or even better found a solution
>>
>> Let me know if you need any more info from me and thank you in advance for your help,
>>
>> Patricia
>
>
> --
> --------------------------------------------------
> Dr. S.F.W. Neggers
> Division of Brain Research
> Rudolf Magnus Institute for Neuroscience
> Utrecht University Medical Center
>
> Visiting : Heidelberglaan 100, 3584 CX Utrecht
> Room B.01.1.03
> Mail : Huispost B01.206, P.O. Box 85500
> 3508 GA Utrecht, the Netherlands
> Tel : +31 (0)88 7559609
> Fax : +31 (0)88 7555443
> E-mail : [log in to unmask]
> Web : http://www.neuromri.nl/people/bas-neggers
> : http://www.brainsciencetools.com (CEO)
> --------------------------------------------------
>
>
> ------------------------------------------------------------------------------
>
> De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
> uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
> ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
> te informeren door het bericht te retourneren. Het Universitair Medisch
> Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
> (Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
> de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.
>
> Denk s.v.p aan het milieu voor u deze e-mail afdrukt.
>
> ------------------------------------------------------------------------------
>
> This message may contain confidential information and is intended exclusively
> for the addressee. If you receive this message unintentionally, please do not
> use the contents but notify the sender immediately by return e-mail. University
> Medical Center Utrecht is a legal person by public law and is registered at
> the Chamber of Commerce for Midden-Nederland under no. 30244197.
>
> Please consider the environment before printing this e-mail.
>
|