movefile
Move (rename) a file or directory.
Syntax
Section titled “Syntax”movefile(source, destination)movefile(source, destination, 'f')[status, message, messageid] = movefile(...)Description
Section titled “Description”Like copyfile but the source is removed after the move. Equivalent to a rename when source and destination are on the same filesystem.
Example
Section titled “Example”movefile('old.csv', 'new.csv')