Thanks Antonin, I've incorporated the rho1 change into fast_selxavg3.m. 
Was there a change that would fix the parfile problem?

On 03/04/2015 08:00 AM, Antonin Skoch wrote:
> Dear Freesurfer experts,
>
> I run fsFast by Octave and I came across minor problems, which are 
> specific to Octave, to get it to work:
>
> I needed to update Octave from my default version 3.2.4 to version 
> 3.8.1. (version 3.2.4. did not have required textread function).
>
> Paradigm file cannot have trailing newline in the end (this is not 
> problem in MATLAB). fast_ldpar4.m then fails in the reading paradigm 
> file in the while loop starting at line 62.
>
> When there is only one run in FSD directory, the fast_selxavg3.m fails 
> at line 574, since Octave does not allow to mean across non-existent 
> (4th) dimension.
>
> Simple modification of the code like
>
> if (size(rho1.vol,4)==1)
>   rho1mn.vol= rho1.vol
> else
>   rho1mn.vol = mean(rho1.vol,4);
> end
>
> solved the problem in my case.
>
> Regards,
>
> Antonin Skoch
> Institute for Clinical and Experimental Medicine
> National Institute for Mental Health
> Czech Republic
>
>
> _______________________________________________
> 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
gr...@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


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.

Reply via email to