Hi Doug,

Thanks very much for the information.  I will try it.

XIaomin

> Date: Mon, 23 Jun 2014 09:19:20 -0400
> From: greve@nmr.mgh.harvard.edu
> To: freesurfer@nmr.mgh.harvard.edu
> Subject: Re: [Freesurfer] Basename error
>
> If it is not using the basename.m in freesurfer it may fail. Try putting
> $FREESURFER_HOME/fsfast/toolbox first in your matlab path
>
>
> On 06/22/2014 02:52 PM, Xiaomin Yue wrote:
> > Hi Doug
> >
> > Thanks for you response. The command line is: selxavg3-sess -s
> > subject_0101 -d . -analysis DoD_looming_lh.
> >
> > I checked the basename function in the matlab installed in my
> > computer, which is 2010b. It seems that the basename in the 2010b
> > matlab only accepts one parameter. I tried two ways to avoid the
> > problem. First, I replaced the matlab's basename function with my own
> > basename function. Second, I removed the motion regressor from the
> > analysis.info. The two method indeed avoided the basename function
> > error, but new errors were created as the following:
> >
> > Error using ==> fmri_hemodyn
> > Too many input argument.
> >
> > Error in ==> flac_ev2irf at 74
> > xirf = fmri_hemodync(tirf, delay, tau, alpha);
> >
> > Error in ==> flac_desmat at 66
> > [xirf tirf] = flac_ev2irf(ev, TER, flac, RefEventDur);
> >
> > Error in ==> flac_customize at 356
> > flacnew = flac_desmat(flacnew);
> >
> > Error in ==> fast_selxavg3 at 65
> > flac0=flac_customize(flac0);
> >
> >
> > I suspected that the errors was caused by matlab? if so, what
> > version is required to run 5.3 version correctly?
> >
> > Thanks for your help!
> >
> > Xiaomin
> >
> > ------------------------------------------------------------------------
> > Date: Thu, 19 Jun 2014 20:41:28 +0200
> > From: greve@nmr.mgh.harvard.edu
> > To: freesurfer@nmr.mgh.harvard.edu
> > Subject: Re: [Freesurfer] Basename error
> >
> >
> > what is your command line and terminal output
> >
> >
> >
> > On 6/19/14 4:36 PM, Xiaomin Yue wrote:
> >
> > Hi all,
> >
> > I am analyzing functional data using fsfast 5.3 with the error:
> > Error using==> basename. It seems that the same problem was
> > reported before in the mail list
> > (https://mail.nmr.mgh.harvard.edu/pipermail//freesurfer/2012-January/021898.html),
> > but I can't find answer in the discussion thread in the above link.
> >
> > Any suggestions? Thanks,
> >
> > Xiaomin Yue
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu>
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> >
> >
> >
> > _______________________________________________ Freesurfer mailing
> > list Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The
> > information in this e-mail is intended only for the person to whom it
> > is addressed. If you believe this e-mail was sent to you in error and
> > the e-mail contains patient information, please contact the Partners
> > Compliance HelpLine at http://www.partners.org/complianceline . If the
> > e-mail was sent to you in error but does not contain patient
> > information, please contact the sender and properly dispose of the e-mail.
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
> --
> Douglas N. Greve, Ph.D.
> MGH-NMR Center
> greve@nmr.mgh.harvard.edu
> Phone Number: 617-724-2358
> Fax: 617-726-7422
>
> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
> FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
> www.nmr.mgh.harvard.edu/facility/filedrop/index.html
> Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer