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.
Bill Whiten (2021). Restore project status for selected project (https://www.mathworks.com/matlabcentral/fileexchange/39425-restore-project-status-for-selected-project), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!