pwd - Identify current directory

Graphical Interface

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

Syntax

pwd
s = pwd

Description

pwd displays the current working directory.

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

On Microsoft® Windows® platforms, go directly to the current working directory using

winopen(pwd)

See Also

cd, dir, fileparts, mfilename, path, what, winopen

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS