From: Douglas on
I am making a little shortcut that will save all the files I have open in my editor then run them in thier various processors so that I can chop up the data in matlab.

I have everything running the way it should except I can't figure out how to save all the files, could someone point me in the right direction?
From: us on
"Douglas " <johnson_dm(a)gmail.com> wrote in message <hogibo$jgk$1(a)fred.mathworks.com>...
> I am making a little shortcut that will save all the files I have open in my editor then run them in thier various processors so that I can chop up the data in matlab.
>
> I have everything running the way it should except I can't figure out how to save all the files, could someone point me in the right direction?

a hint:
- you'll find this slew of methods helpful to come up with a solution...

ed=com.mathworks.mlservices.MLEditorServices;
% now, look at the various methods...
methods(ed);
%{
Methods for class com.mathworks.mlservices.MLEditorServices:

MLEditorServices isBuiltinEditor
builtinAddFileListener isDocumentDirty
builtinAppendDocumentText newDocument
builtinGetActiveDocument notify
builtinGetDocumentText notifyAll
builtinGetNumOpenDocuments openDocument
builtinGetOpenDocumentNames openDocumentToFunction
builtinRemoveFileListener openDocumentToLine
closeAll reloadDocument
closeDocument saveDocument
equals toString
getClass wait
hashCode
%}

us
From: ImageAnalyst on
Why not just customize the editor's toolbar to add the "Save All"
button? It's not on there by default but you can certainly add it,
like I've done.