Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

isdir

Determine whether input is folder

Syntax

tf = isdir('A')

Description

tf = isdir('A') returns logical 1 (true) if A is a folder. Otherwise, it returns logical 0 (false).

Examples

Run:

tf=isdir('myfiles/results')

MATLAB® returns

tf =
	1

indicating that myfiles/results is a folder.

See Also

|

Introduced before R2006a

Was this topic helpful?