Documentation Center

  • Trial Software
  • Product Updates
我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

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

|

Was this topic helpful?