Function Reference
— Function File: [status, msg, msgid] = movefile (f1, f2)

Move the file f1 to the new name f2. The name f1 may contain globbing patterns. If f1 expands to multiple file names, f2 must be a directory.

If successful, status is 1, with msg and msgid empty\n\ character strings. Otherwise, status is 0, msg contains a\n\ system-dependent error message, and msgid contains a unique\n\ message identifier.\n\

See also: glob