Documentation

pwd

Identify current folder

Syntax

pwd
currentFolder = pwd

Description

pwd displays the MATLAB® current folder.

currentFolder = pwd returns the current folder as a string to currentFolder.

Alternatives

  • Use the Current Folder toolbar.

See Also

|

Introduced before R2006a

Was this topic helpful?