next up previous contents
Next: SYSTEM Call an External 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 29]
 /home/basu/FreeMat2/help/mtex



2004-10-09