Matlab 7.14.0.739 (R2012a), and FSL
2 views (last 30 days)
Show older comments
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;
0 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!