Saves and loads Matlab "projects" in editor (currently-open files, working directory, search path).
Updated 17 May 2016

View License

This GUI-driven tool makes it easier to switch from task to task by allowing you to save the current state of your Matlab Editor session as a "project", for later re-loading.
A Matlab "project" consists of the m-files that are currently open in the Matlab Editor. Loading a project
returns the Matlab Editor to the state it was in when the project was saved, with the same m-files open to the same lines, the working directory set to that of the loaded project and the Matlab search path set back to its saved value.

Cite As

Kevin Bartlett (2024). matproj(varargin) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Environment and Settings in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added action ADD (user contribution from "Andres").

User "Andres" provided code for loading a matproj.mat file *without* closing the existing project. Incorporated this "ADD" functionality.

Fixed bug that caused path repair to fail on Windows machines.

Added code to repair path in the event of a Matlab upgrade; should prevent errors that have been cropping up.

Update fixes bug pointed out by David Brown--unmodified "untitled" files no longer cause matproj loading to fail.