From: Bill Whiten on
I would like to find a method of reading the names of the files open in the editor.

I work on several different projects, which use different sets of files.
I would like to save the names of the files open in the editor for each project when I close Matlab, so that I can open them all again via a program that reopens the files, when I come back to that project.

Thanks
From: us on
On May 13, 12:09 pm, "Bill Whiten" <notthis.W.Whi...(a)uq.edu.au> wrote:
> I would like to find a method of reading the names of the files open in the editor.
>
> I work on several different projects, which use different sets of files.
> I would like to save the names of the files open in the editor for each project when I close Matlab, so that I can open them all again via a program that reopens the files, when I come back to that project.
>
> Thanks

one of the solutions

es=com.mathworks.mlservices.MLEditorServices;
dn=char(es.builtinGetOpenDocumentNames)

us
From: Bill Whiten on
us <us(a)neurol.unizh.ch> wrote in message <e2148320-4b18-46b3-88f9-dd2de61d1225(a)37g2000yqm.googlegroups.com>...
> On May 13, 12:09 pm, "Bill Whiten" <notthis.W.Whi...(a)uq.edu.au> wrote:
> > I would like to find a method of reading the names of the files open in the editor.
> >
> > I work on several different projects, which use different sets of files.
> > I would like to save the names of the files open in the editor for each project when I close Matlab, so that I can open them all again via a program that reopens the files, when I come back to that project.
> >
> > Thanks
>
> one of the solutions
>
> es=com.mathworks.mlservices.MLEditorServices;
> dn=char(es.builtinGetOpenDocumentNames)
>
> us

Thanks, works, and a reply within 10 minutes.