pwd

Returns the current working directory.

Syntax

R = pwd()

Outputs

R
Current working directory.

Example

Simple example:

cd('c:\tests')
R = pwd()
R = c:\tests