Effacer les filtres
Effacer les filtres

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

59 vues (au cours des 30 derniers jours)
HaveF
HaveF le 30 Juin 2011
Commenté : Robert le 13 Déc 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 commentaire
Robert
Robert le 13 Déc 2018
Does anybody know how to get a list of all open files including Live editor (.mlx) files?

Connectez-vous pour commenter.

Réponse acceptée

Teja Muppirala
Teja Muppirala le 30 Juin 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 commentaire
HaveF
HaveF le 30 Juin 2011
Teja, it's a familiar name...aha, Video Sudoku Man! thanks;-)

Connectez-vous pour commenter.

Plus de réponses (1)

Jan
Jan le 30 Juin 2011
Modifié(e) : John Kelly le 27 Mai 2014
As far as I understand this is supported now

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by