MATLAB: Move file to folder

filefoldermove

i want function to move file on any dir in my pc to folder at any dir in my pc

Best Answer

Hi Ahmed,
movefile('source','destination')
moves the file or folder named source to the location destination, where source and destination are the absolute or relative paths for the folder or file.
For further information regarding this command, please visit the following documentation page.