FUNCTION REFERENCE

isdir

True if a local directory exists.

True if a local directory exists.

Syntax

tf = isdir(path)

Resolves relative paths against the engine current folder and returns a logical scalar.

Example

isdir(pwd)   % 1

Differences from MATLAB: Network paths are not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.