MATLAB Answers


Can I save / preserve list of scripts open in the editor?

Asked by Omar Mian on 14 Sep 2011
Latest activity Commented on by Jan
on 11 Nov 2017
I am working with some data and have about 8 scripts open in the editor to enable me to do this. Is it possible to save the identity of the scripts that are open so I don't have to manually locate and open each one next time I need to work with this data set?
In other words, can I save a playlist of scripts?


Sign in to comment.



2 Answers

Answer by Fangjun Jiang on 14 Sep 2011
 Accepted Answer

What is your MATLAB version? New versions might help you.
help matlab.desktop.editor


Thanks. I use 2010b and the save state script in the link provided doesn't work for me. I'll upgrade to the latest version when I get a chance.
The link is dead.

Sign in to comment.

Answer by Sean de Wolski
on 14 Sep 2011

make a new script that calls:
edit script1
edit script2
edit script3
it'll open all of 'em.
You might also want to look at cell mode and then concatenate them into one script but in different cells of that script. You can then evaluate each one independently but they'll all be together.


Thanks. Do you know if there a function that can be used to build a list of current scripts in the editor (other than the one mentioned in the link provided by Fangjun Jiang, which seems to require a newer version of matlab)?
Not to my knowledge.

Sign in to comment.