How to update 'MATLAB_Editor_State.xml'
2 ビュー (過去 30 日間)
古いコメントを表示
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
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!