You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Several environment variables are set in FSL_FIXDIR/settings.sh, which is sourced below for interpreted modes
452
+
453
+
# For interpreted modes, make sure that matlab/octave has access to the functions it needs.
454
+
# normalise.m (needed by functionhighpassandvariancenormalize.m) is in '${HCPPIPEDIR}/global/matlab'
455
+
# Since we are NOT using the ${FSL_FIXDIR}/call_matlab.sh script to invoke matlab (unlike 'hcp_fix_multi_run')
456
+
# we need to explicitly add ${FSL_FIXDIR} (all the fix-related functions)
457
+
# and ${FSL_MATLAB_PATH} (e.g., read_avw.m, save_avw.m) to the matlab path as well.
458
+
# Several additional necessary environment variables (e.g., ${FSL_FIX_CIFTIRW} and ${FSL_FIX_WBC})
459
+
# are set in FSL_FIXDIR/settings.sh, which is sourced below for interpreted modes.
460
+
# Note that the ciftiopen.m, ciftisave.m functions are added to the path through the ${FSL_FIX_WBC}
461
+
# environment variable within fix_3_clean.m itself.
456
462
export FSL_MATLAB_PATH="${FSLDIR}/etc/matlab"
457
-
local ML_PATHS="addpath('${FSL_MATLAB_PATH}'); addpath('${FSL_FIXDIR}'); addpath('${this_script_dir}/scripts');"
463
+
local ML_PATHS="addpath('${FSL_FIXDIR}'); addpath('${FSL_MATLAB_PATH}'); addpath('${HCPPIPEDIR}/global/matlab'); addpath('${this_script_dir}/scripts');"
0 commit comments