chdir
Changes the current directory to dir.
Syntax
chdir(dir)
R = chdir(dir)
Inputs
- dir
 - String specifying a directory path.
 
Outputs
- R
 - Returns a string specifying the current directory path if the directory change is successful.
 
Example
Simple chdir example.
chdir('C:/')