Hello Freesurfer Developers,

 

I am having trouble with my first level analysis using selxavg3-sess. I passed the -debug flag in my command and noticed that MATLAB 2021a was being used. However, the command worked as expected before MATLAB was updated from 2020b. Is there a way I can specify freesurfer (v6.0.0) to use a specific version of MATLAB?  

 

I tried passing the -octave flag but got the following error

 

ERROR: cannot find /usr/local/freesurfer/stable5_1_0/matlab/

 

The full command:

 

selxavg3-sess -s 002_S_0413_V1_fMRI -overwrite -a lh-FastADNI12state1 -no-preproc -force -debug

 

Thank you

Shrikanth