Dear Freesurferexperts,
I still have the Problem because I can not run the the mris-command to estimate the gyrification-index, because Freesurfer is not recognizing Matlab: "ERROR: Matlab is required to run mris_compute_lgi"Im not sure why this is happening? Does someone have an idea???
Im starting Freesurfer as follows:
FREESURFER_HOME=/Users/dhirjak/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
(than I get the following output)
Dusan-Hirjaks-MacBook-Pro:~ dhirjak$ source $FREESURFER_HOME/SetUpFreeSurfer.sh-------- freesurfer-Darwin-snowleopard-i686-stable-pub-v5.3.0 --------Setting up environment for FreeSurfer/FS-FAST (and FSL)FREESURFER_HOME /Users/dhirjak/freesurferFSFAST_HOME /Users/dhirjak/freesurfer/fsfastFSF_OUTPUT_FORMAT nii.gzSUBJECTS_DIR /Users/dhirjak/MRI/Freesurfer_2MNI_DIR /Users/dhirjak/freesurfer/mniFSL_DIR /Users/dhirjak/fsl
export SUBJECTS_DIR=/Users/dhirjak/MRI/Freesurfer
In have the following lines in my matlab startup-file:
fshome = getenv('FREESURFER_HOME'); fsmatlab = sprintf('%s/matlab',fshome); if (exist(fsmatlab) == 7) path(path,fsmatlab); end clear fshome fsmatlab; fsfasthome = getenv('FSFAST_HOME'); fsfasttoolbox = sprintf('%s/toolbox',fsfasthome); if (exist(fsfasttoolbox) == 7) path(path,fsfasttoolbox); end clear fsfasthome fsfasttoolbox; Thanks!!!
Dusan Hirjak