How to update 'MATLAB_Ed​itor_State​.xml'

1 回表示 (過去 30 日間)
Andre Zeug
Andre Zeug 2014 年 12 月 6 日
コメント済み: per isakson 2014 年 12 月 6 日
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
  1 件のコメント
per isakson
per isakson 2014 年 12 月 6 日
Me too!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by