This submission provides a sample startup.m and finish.m file to allow MATLAB to restore the working directory from the previous MATLAB session.
Antonio (2021). Restore Last Working Directory (https://www.mathworks.com/matlabcentral/fileexchange/44143-restore-last-working-directory), MATLAB Central File Exchange. Retrieved .
Inspired by: Startup MATLAB in last working folder
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!