필터 지우기
필터 지우기

Cannot load .nii.gz files with MATLAB 2017b

조회 수: 5 (최근 30일)
Gina Carts
Gina Carts 2019년 10월 8일
댓글: Daniel M 2019년 10월 8일
Hi there,
I have a problem loading Nifti gz files (.nii.gz) with MATLAB 2017b.
I am loading my .nii.gz using the below:
load_untouch_nii('file path/image.nii.gz');
I got the error
Error using load_nii_hdr (line 40)
Cannot find file "file path/image.nii"
When I unzip the file then it's OK. Should I use a different funtion to load a .nii.gz file?
  댓글 수: 1
Daniel M
Daniel M 2019년 10월 8일
I think maybe it didn't unzip properly. Check what is <filename> right before you enter load_nii_hdr function, then check what is <fileprefix> upon error. This might be an issue with file permissions.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by