| MATLAB Function Reference | ![]() |
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
| publish | qmr | ![]() |
© 1994-2005 The MathWorks, Inc.