MATLAB Function Reference Previous page   Next Page
isdir

Determine if input is a directory

Syntax

Description

tf = isdir('A') returns logical 1 (true) if A is a directory and logical 0 (false) otherwise.

Examples

Type

and MATLAB returns

indicating that mymfiles/results is a directory.

See Also

dir, is*


Previous page  ischar isempty Next page

© 1994-2005 The MathWorks, Inc.