[Freesurfer] error: mean: DIM must be an integer and a valid dimension / selxavg3-sess with octave

2017-01-11 Thread Michael Schirner
Dear FreeSurfers, I just wanted to share a solution for an issue that can arise when running selxavg3-sess with octave instead of Matlab. In fast_selxavg3.m (which is called by selxavg3) there is a line (579 in my version) that computes the mean of an array by calling the mean function with the D

[Freesurfer] ERROR: fast_selxavg3() failed\n

2017-01-10 Thread Michael Schirner
Dear experts, I'm attempting to perform step 6 in the FsFastTutorialV5.1 (https://surfer.nmr.mgh.harvard.edu/fswiki/FsFastTutorialV5.1/FsFastFirstLevel; "First-level Analysis using selxavg3-sess"), but get the following error when I run the selxavg3-sess command: --- octave output ---