Restore project status for selected project

Restores search path and reopens editor files for selected folder/project during startup/restart

You are now following this Submission

Select from projects stored in separate folders when startup.m is run including when Matlab starts.

Restores search path and reopens editor files for the selected folder/project.

Place startup.m and finish.m in a folder (e.g. documents/Matlab), set Matlab "Path" to this folder, and save path (normally do not change saved path after this). Also in this folder (or elsewhere) place working folders for your various projects.

When Matlab starts startup.m runs and asks you to select a working folder or create a new folder. Then when Matlab quits or you rerun startup.m, the search path and names of open files are saved in files savedpath.mat and savededit.mat. If a folder is reopened using startup.m these files
are used to restore the search path and reopen the editor files ready for you to continue where you left off.

Folders on the Matlab saved search path remain open, and any additional folders added to the path for a particular project are added to the current path when that project/folder is selected in startup.m.

Cite As

Bill Whiten (2026). Restore project status for selected project (https://uk.mathworks.com/matlabcentral/fileexchange/39425-restore-project-status-for-selected-project), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Environment and Settings in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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