Matlab 7.14.0.739 (R2012a), and FSL

조회 수: 1 (최근 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