필터 지우기
필터 지우기

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

조회 수: 59 (최근 30일)
HaveF
HaveF 2011년 6월 30일
댓글: Robert 2018년 12월 13일
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
HaveF
HaveF 2011년 6월 30일
Teja, it's a familiar name...aha, Video Sudoku Man! thanks;-)

댓글을 달려면 로그인하십시오.

추가 답변 (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