MATLAB Function Reference Previous page   Next Page
pwd

Identify 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, fileparts, mfilename, path, what


Previous page  publish qmr Next page

© 1994-2005 The MathWorks, Inc.