Dear Experts,
I am new to AFNI and Mac. But my project requires me to analyze fMRI data with some inherited matlab codes. These matlab codes call afni to analysis multiple files with the same command, e.g.
number = (1:5)
c2=['3dvolreg -prefix runreg_',number, '-base run',number,'+orig[3] -Fourier run',number,'+orig.BRIK'];
unix(c2)
I have run these code perfectly on my lab mate's mac laptop. But I run into errors on a newly purchased iMac with os X 10.8.4. Specifically, I found that all the files generated during the matlab running are no more unix executable files as on my labmate's laptop, but rather documents. These newly generated data file, and even old data files those worked previously in the laptop, can't be recognized by afni anymore.
My lab mate thought it could be due to a lack of appropriate compilers as he has previously installed some compilers on his laptop. Unfortunately, his labtop is sent out for repair now and I can't find out what could be wrong now.
Is there any compiler my new imac missing? I have installed Fink and Xcode, but they don't help. Maybe I haven't set the fink or Xcode correctly? Any suggestions, please?
Update:
It seems that the major problem I have now is in 3dvolreg in this new iMac
"3dvolreg -prefix runreg_8 -base run8+orig[3] -dfile run8_d.D -1Dfile run8_1d.1D -Fourier run8+orig.BRIK"
Return message is
"3dvolreg: No match."
But I can still run
'3dvolreg -prefix runreg_8 -dfile run8_d.D -1Dfile run8_1d.1D -Fourier run8+orig.BRIK'
without "-base run8+orig[3]"
This was not a problem on my labmate's laptop. Any suggestions? Thanks a lot.
Thanks so much!
Jmzhuo
Edited 3 time(s). Last edit at 08/15/2013 06:29AM by jmzhuo.