Rename File Names
Karim Mansour (2021). File Rename (https://www.mathworks.com/matlabcentral/fileexchange/27103-file-rename), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
This is merely a wrapper for the built-in function movefile, which I find ok. At least, more than a year ago I was not aware of the rename-capability of movefile. See this thread
http://www.mathworks.com/matlabcentral/newsreader/view_thread/168952#431110
Note however: the last entry in this thread suggests to use the DOS command
dos('ren file1 file2')
On my system (windows xp) this is at least ten times faster.