Restore project status for selected project

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

您现在正在关注此提交

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 (2026). Restore project status for selected project (https://ww2.mathworks.cn/matlabcentral/fileexchange/39425-restore-project-status-for-selected-project), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0