Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
copies a file
copyfile(source, destination) [status, message] = copyfile(source, destination)
a character string: a filename or a directory name.
a character string: a directory name.
copyfile(source,destination) copies the file or
source (and subdirectories) to the file or
source is a directory,
destination can not be a file.
[status, message] = copyfile(source, destination)
destination, returning the
status and a
Whatever the operating system, if the copy succeeds, the
status is 1
message is empty; if the copy fails, the
status is 0 and the
message is not empty.
The timestamp given to the destination file is identical to that taken from source file.
copyfile(SCI+"/etc/scilab.start",TMPDIR+"/scilab.start") [status,message] = copyfile(SCI+"/etc/scilab.start",TMPDIR);
|Report an issue|
|<< file_system||file_system||deletefile >>|