Matlab 7.14.0.739 (R2012a), and FSL
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!