Matlab 7.14.0.739 (R2012a), and FSL

2 次查看(过去 30 天)
Charles
Charles 2015-9-27
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by