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

59 次查看(过去 30 天)
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 个评论
Robert
Robert 2018-12-13
Does anybody know how to get a list of all open files including Live editor (.mlx) files?

请先登录,再进行评论。

采纳的回答

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

更多回答(1 个)

Jan
Jan 2011-6-30
编辑:John Kelly 2014-5-27
As far as I understand this is supported now

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by