Documentation

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

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?