powered by
Finds the FSL version from FSLDIR/etc/fslversion
FSLDIR/etc/fslversion
fsl_version(full = FALSE)fslversion()fsl_version_gt5()
fslversion()
fsl_version_gt5()
If the version file does not exist, it will throw a warning, but it will return an empty string. Otherwise it will be a string of the version.
provide the full version, versus the numeric version
if (have_fsl()) { fslversion() fsl_version() }
Run the code above in your browser using DataLab