MATLAB Function Reference    
pwd

Display current directory

Graphical Interface

As an alternative to the pwd function, use the Current Directory field in the MATLAB desktop toolbar.

Syntax

Description

pwd displays the current working directory.

s = pwd returns the current directory to the variable s.

See Also

cd, dir, path, what


  psi qmr