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".

Risposte (1)

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

Richiesto:

il 3 Mar 2022

Risposto:

il 4 Mar 2022

Community Treasure Hunt

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

Start Hunting!

Translated by