next up previous contents
Next: GETPATH Get Current Search Up: Operating System Functions Previous: LS/DIR List Files Function   Contents

Subsections

PWD Print Working Directory Function

Usage

Returns a string describing the current working directory. The general syntax for its use is

  y = pwd

Example

The pwd function is fairly straightforward.

--> pwd
ans = 
  <string>  - size: [1 34]
 /localhome/basu/FreeMat2/help/mtex



Samit K. Basu 2005-03-16