Restore Last Working Directory

Files for allowing MATLAB® to restore the previous working directory.

You are now following this Submission

This submission provides a sample startup.m and finish.m file to allow MATLAB to restore the working directory from the previous MATLAB session.

Cite As

Antonio (2026). Restore Last Working Directory (https://uk.mathworks.com/matlabcentral/fileexchange/44143-restore-last-working-directory), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Startup MATLAB in last working folder

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0