Cannot load .nii.gz files with MATLAB 2017b

3 ビュー (過去 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 Center および File ExchangeMRI についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by