Why is Movefile creating a folder instead of renaming a file?
Mostra commenti meno recenti
The program:
for k = 1:1
Folder = sprintf('/Users/NaomiGaggi/Desktop/GroupAnalysis/sub%d/STRUC/', k);
movefile(fullfile(Folder, '*.nii'),fullfile(Folder, 'T1.nii'));
end
makes a FOLDER T1.nii instead of renaming the file containing the extension .nii to T1.nii.
Does anyone know how to fix this?
Thanks!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Large Files and Big Data in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!