Clear Filters
Clear Filters

Saving and loading portfolios of editor windows?

2 views (last 30 days)
I'm simultaneously working on several different projects using Matlab. So it is frequently required to switch from one to another quickly. Because different projects are composed of many different set of m-files, I need to close all opened editor windows and open new editor windows to switch projects. This may not be that cumbersome but not that convenient. Also, sometimes, I forget which code I was working on before. So, I think it will be very convenient if it is possible to manage a set of editor windows and work space as a portfolio, like the concepts of 'project' of 'solution' of MS Visual studio. As I know, Matlab does not support this kind of functions. Is there any workaround or a third-party tools for this?

Accepted Answer

Michael Katz
Michael Katz on 27 Dec 2011
You can use the MATLAB Editor API to batch open and close a set of files. See my "Saving state" example:

More Answers (0)


Find more on Portfolio Optimization and Asset Allocation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!