I'm written the following code to rename files in a folder. However, for whatever reason it is not working. Any idea where I've gone wrong?
I assume the program is self-explanatory, but let me know if you need any clarifications on the task.
path=('D:\Documents and Settings\Administrator\Desktop\Data 31052012\75mj\all times\');
newName=([prefix num2str(time) 'ns'])