Setting the Working Directory from Within MATLAB
An alternative, but temporary, procedure for setting your MATLAB working directory is:
cd c:\mwd
pwd or cd