Navigation

Operators and Keywords

Function List:

C++ API

: rename old new
: [err, msg] = rename (old, new)

Change the name of file old to new.

If successful, err is 0 and msg is an empty string. Otherwise, err is nonzero and msg contains a system-dependent error message.

See also: movefile, copyfile, ls, dir.

Package: octave