How to update 'MATLAB_Editor_State.xml'
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to reset the code folding state of a specific file which is open in the editor. Since the present code folding state is stores in the file MATLAB_Editor_State.xml, I tried to edit the file by just deleting the file information. However this does not affect the code folding state while Matlab is running. Also: 1st closing the editor, 2nd editing the xml-file, 3rd reopen the editor and all files is not sufficient. Finally it is required to 1st quit Matlab, 2nd edit the xml-file, 3rd restart Matlab that the file specific code folding properties are removed. So my question is how to force Matlab to update and reread MATLAB_Editor_State.xml that modifications of the file take effect while Matlab is running. Other ideas of resetting code folding are also very welcome. (Background: I set 'Sections' to 'Fold Initially' to make lengthy script readable. However when the script is modified by an external source, e.g. updating from SVN server, everything gets unfolded. So I am looking for a possibility to reset code folding state.) Please see also: Yair Altman blog
Risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!