Hello freesurfer experts,

When I run the selxavg3-sess command (for retinotopy) , the command exits with this 
"fast_selxavg3b('/mnt/c/Users/yagmuridil/Desktop/freesurfer/Project/Sess01/bold/rtopy.self.lh/sxa3.config.txt')
if(~fast_fileexists('/tmp/selxavg3-sess-3166.ok')); quit; end"
and then gives a "Matlab: Command not found" error. Can anyone help me troubleshoot this? I initially thought there was a problem with the system recognizing the Matlab in my computer, I tried to export a Matlab home, and tried to follow the steps here https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg05046.html but my ~/matlab folder doesn't have a startup.m file.

>>1/1 /mnt/c/Users/yagmuridil/Desktop/freesurfer/Project/Sess01
Çrş Eyl 20 16:17:28 DST 2017
anadir = /mnt/c/Users/yagmuridil/Desktop/freesurfer/Project/Sess01/bold/rtopy.self.lh
DoGLMFit = 1
DoContrasts = 1
UpdateNeeded = 1
    Sess01 Update needed
/mnt/c/Users/yagmuridil/Desktop/freesurfer/Project/Sess01/bold/rtopy.self.lh/sxa3.config.txt
MLF is /tmp/selxavg3-sess-3166.m
------------------------------------------
% Çrş Eyl 20 16:17:26 DST 2017
% /mnt/c/Users/yagmuridil/Desktop/freesurfer/Project
%  rtopy.self.lh
which fast_selxavg3
which fast_ldanaflac
which MRIread


fast_selxavg3b('/mnt/c/Users/yagmuridil/Desktop/freesurfer/Project/Sess01/bold/rtopy.self.lh/sxa3.config.txt')
if(~fast_fileexists('/tmp/selxavg3-sess-3166.ok')); quit; end
%--------------------------------


quit;
------------------------------------------
------------------------------------------
------- matlab output --------------------
matlab: Command not found.
------------------------------------------
ERROR: fast_selxavg3() failed\n


Thank you,
Idil