Contents Previous Next Subchapters

Determining If There Is A Directory With A Specified Name
Syntax isdir(name)
See Also exists , listdir , mkdir

Description
Returns true, it there is a directory with the specified name and false otherwise, where name is a character row vector. Note that if name corresponds to a file instead of a directory, the return value is false.

Example
if you enter
     isdir("c:\omwin")
O-Matrix will respond
     T
On the other hand, if you enter
     isdir("c:\omwin\function\colmax.oms")
O-Matrix will respond
     F