Matlab 7.14.0.739 (R2012a), and FSL

1 visualizzazione (ultimi 30 giorni)
Charles
Charles il 27 Set 2015
Prior to upgrading to Yosemite (10.10.5), Matlab 7.14.0.739 (R2012a) would read .nii FSL files using the read_avw() syntax. The code below sets the FSL environment for Matlab (I have installed FSL in the applications folder). However, while Matlab (7.14.0.739 (R2012a) runs since upgrading to Yosemite it will not read the FSL .nii files with the read_avw() syntax. The error is always the same: "Error using read_avw (line 27), which involves converting the .nii to an uncompressed nifti pair using FSL.
If this problem will most effectively be resolved by buying the most recent version of Matlab for OSX Yosemite 10.10.5 that's OK, but I need to know the most recent version of Matlab will indeed read the FSL .nii files with the read_avw() syntax.
Any assistance would be much appreciated
setenv( 'FSLDIR', '/applications/fsl' ); fsldir = getenv('FSLDIR'); fsldirmpath = sprintf('%s/etc/matlab',fsldir); path(path, fsldirmpath); clear fsldir fsldirmpath;

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by