View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Restore project status for selected project

  • finish(arg)finish Function to save names of files being edited and search path
  • startupstartup File to set current directory, restores path & editor
  • View all files
Be the first to rate this file! 3 Downloads (last 30 days) File Size: 6.51 KB File ID: #39425 Version: 1.0
image thumbnail

Restore project status for selected project



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

| Watch this File

File Information

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.


This file inspired Linfitregsel Term Selection In Linear Regression, Greyboxbuild: Complete A Greybox Model, and Greyboxeval Model Quality Evaluation.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Also ok for Matlab 7.11 and possibly earlier. Saving editor files may fail on earlier Matlab versions.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us