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

editorfiles

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!

Best Answer

As mentioned in the links below in Jan Simon's answer,
there is the matlab.desktop.editor
X = matlab.desktop.editor.getAll
X.Filename