from Restore previous working directory on MATLAB Startup by Vihang Patil
This simple program will restore the last working directory on resuming MATLAB

All files for Restore previous working directory on MATLAB Startup
/finish.m
/license.txt
/startup.m

Contact us at files@mathworks.com