How to get a list of all open files in Matlab editor?

71 views (last 30 days)
I search the web, find the undocumented answer, that is
es=com.mathworks.mlservices.MLEditorServices;
dn=char(es.builtinGetOpenDocumentNames)
It not works on 2011a version.
I also use Yair Altman's uiinspect to check the class to see if the method changed its name, but find nothing.
How to get a list of all open files in Matlab editor? Thanks!
  1 Comment
Robert
Robert on 13 Dec 2018
Does anybody know how to get a list of all open files including Live editor (.mlx) files?

Sign in to comment.

Accepted Answer

Teja Muppirala
Teja Muppirala on 30 Jun 2011
As mentioned in the links below in Jan Simon's answer,
there is the matlab.desktop.editor
X = matlab.desktop.editor.getAll
X.Filename

More Answers (1)

Jan
Jan on 30 Jun 2011
Edited: John Kelly on 27 May 2014
As far as I understand this is supported now

Categories

Find more on Environment and Settings 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!