MATLAB Function Reference
  Go to function:
    Search    Help Desk 
copyfile    See Also

Copy file

Syntax

Description

copyfile(source,dest) copies the file source to the new file dest. source and dest may be absolute pathnames or pathnames relative to the current directory.

copyfile(source,dest,'writable') checks that dest is writable.

status = copyfile(...) returns 1 if the file is copied successfully and 0 otherwise.

[status,msg] = copyfile(...) returns a non-empty error message string when an error occurs.

See Also

delete  Delete files and graphics objects
mkdir   Make directory



[ Previous | Help Desk | Next ]