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


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