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

80 visualizaciones (últimos 30 días)
HaveF
HaveF el 30 de Jun. de 2011
Comentada: Robert el 13 de Dic. de 2018
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 comentario
Robert
Robert el 13 de Dic. de 2018
Does anybody know how to get a list of all open files including Live editor (.mlx) files?

Iniciar sesión para comentar.

Respuesta aceptada

Teja Muppirala
Teja Muppirala el 30 de Jun. de 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
  1 comentario
HaveF
HaveF el 30 de Jun. de 2011
Teja, it's a familiar name...aha, Video Sudoku Man! thanks;-)

Iniciar sesión para comentar.

Más respuestas (1)

Jan
Jan el 30 de Jun. de 2011
Editada: John Kelly el 27 de Mayo de 2014
As far as I understand this is supported now

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by