Effacer les filtres
Effacer les filtres

adding a string to the file name for all files

2 vues (au cours des 30 derniers jours)
fima v
fima v le 22 Fév 2017
Réponse apportée : Rik le 22 Fév 2017
Hello i have txt files in my folder,how can i change their file name by adding a string to the start of the file name so af older with aa90.txt bb90.txt cc90.txt will become str_aa90.txt str_bb90.txt str_cc90.txt
thanks

Réponse acceptée

Rik
Rik le 22 Fév 2017
You can use the function dir find out the file names in a folder. If you Google on [rename files matlab], you can find this answer.
From here you should be able to write the code yourself. If you get errors or don't understand the help text of the functions you need, I'll be glad to help.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by