matproj(varargin)

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

You are now following this Submission

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 (2026). matproj(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/41505-matproj-varargin), 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.5

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

1.4.0.0

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

1.3.0.0

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

1.2.0.0

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

1.1.0.0

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

1.0.0.0