<< rmdir | Files and folders functions | tempdir >> |
rmfile(filename) |
res = rmfile(filename) |
[res, msg] = rmfile(filename) |
[res, msg] = rmfile(filename) |
a string: file name.
a logical: true or false.
a string: error message or ''.
res = rmfile(filename) removes the file filename.
fd = fopen([tempdir(), 'test_rmfile.txt'], 'wt')
fclose(fd)
isfile([tempdir(), 'test_rmfile.txt'])
rmfile([tempdir(), 'test_rmfile.txt'])
isfile([tempdir(), 'test_rmfile.txt'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET