I'm trying to programmatically rename a file in the working directory from a = 'temp.txt' to b = 'hello.txt'. How would you suggest doing so? Is there an easy file renaming function in MATLAB?
I think you're looking for MOVEFILE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With