How to change the name of an image?
7 views (last 30 days)
Show older comments
I have multiple images named as 10000, 10006, 10013, 100247 etc and I want to rename these images as 1_Gamma, 2_Gamma, 3_Gamma, 4_Gamma respectively. Any help would be appreciated. Thanks
4 Comments
Adam Danz
on 20 Aug 2019
Great! I'll move my comment to the answer section so your question appears as answered.
Accepted Answer
Adam Danz
on 20 Aug 2019
You can use movefile() to create a copy of the file with a new name. Then you can use delete() to delete the old copies forever (but you already made a backup of the original files before you did any of this).
0 Comments
More Answers (0)
See Also
Categories
Find more on Import, Export, and Conversion 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!