Contents Previous Next Subchapters

Removing A File
Syntax rmfile(file)
See Also delete , exists , rmdir , listdir , isdir

Description
Deletes the specified file, where file is a character row vector. If the file existed and was successfully deleted, the function returns the value true, otherwise it returns false.

Example
If you enter
     rmfile("file.tmp")
and file.tmp exists, O-Matrix will delete the file and respond
     T

Mlmode
In Mlmode , this function is called delete instead of rmfile. If in Mlmode you enter
     delete("file.tmp")
and file.tmp exists, O-Matrix will delete the file and respond
     T