error using load_nii_hdr

I am processing a nifti file (T2_map_1.nii) on R2021a using a home made function; there is an error when I get to this part of the code: onii=load_nii([p.fin '.nii']);
It gives the following error; Cannot find file "T2_map_1.nii.nii".

Answers (1)

yes,sir,now "T2_map_1.nii.nii", so may be use
onii=load_nii(p.fin)

Categories

Asked:

on 3 Mar 2022

Answered:

on 4 Mar 2022

Community Treasure Hunt

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

Start Hunting!