MATLAB Answers


This question is closed. Reopen it to edit or answer.

Rename all files in a folder

1 view (last 30 days)
Ravin Rayeok
Ravin Rayeok on 23 Oct 2020
Closed: Ameer Hamza on 23 Oct 2020
Hello, need some assistance here,
I have 150 images with the name of 1.jpg 2.jpg ..... 150.jpg
I need to rename it all as this : 1.jpg ----> 001.jpg , 12.jpg ---> 012.jpg etc
Can anyone help?

Answers (0)

Community Treasure Hunt

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

Start Hunting!