Contents Previous Next Subchapters

Removing A Directory
Syntax rmdir(name)
See Also rmdirs , mkdir , exists , isdir

Description
Removes the empty directory specified by name, where name is a character row vector. If the directory is successfully removed, rmdir returns true; otherwise it returns false ( rmdirs can be used to remove a directory that is not empty).

Example
If the directory C:\JUNK does not exist, and you enter
     mkdir("c:\junk")
O-Matrix will create the directory and respond
     T
you can remove the directory with the command
     rmdir("c:\junk")