How to get a list of all open files in Matlab editor?
59 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
le 13 Déc 2018
Does anybody know how to get a list of all open files including Live editor (.mlx) files?
Réponse acceptée
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
Plus de réponses (1)
Jan
le 30 Juin 2011
Modifié(e) : John Kelly
le 27 Mai 2014
As far as I understand this is supported now
Voir également
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!