From: Douglas on 25 Mar 2010 16:51 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 25 Mar 2010 17:00 "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 25 Mar 2010 19:01 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.
|
Pages: 1 Prev: Trying to use matlab engine from VC++ Next: regarding dec2bin |