error using load_nii_hdr

23 views (last 30 days)
Kangwa Nkonde
Kangwa Nkonde on 3 Mar 2022
Answered: yanqi liu on 4 Mar 2022
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)

yanqi liu
yanqi liu on 4 Mar 2022
yes,sir,now "T2_map_1.nii.nii", so may be use
onii=load_nii(p.fin)

Categories

Find more on Neuroimaging in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!