cd
Changes the current directory to dir.
Syntax
cd(dir)
R = cd(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 cd example:
cd('C:/')