How can I get rid of the yellow background?

35 ビュー (過去 30 日間)
David Koenig
David Koenig 2015 年 3 月 7 日
コメント済み: Ricardo 2023 年 3 月 20 日
While editing a script I inadvertently clicked something that caused a yellow background for the script and also added comments for various sections. How can I get rid of that background? Thanks.

採用された回答

Star Strider
Star Strider 2015 年 3 月 7 日
That’s an Editor ‘section’ indication. Look for a pair of percent signs ‘%%’ together in the first and second columns where the yellow section starts. Delete one of the percent signs, and all will be back to normal.
  3 件のコメント
Star Strider
Star Strider 2015 年 3 月 7 日
My pleasure!
Image Analyst
Image Analyst 2015 年 3 月 7 日
David - you can also thank him by "Accepting" and "Voting" for his answer.

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

その他の回答 (3 件)

Kenny
Kenny 2018 年 8 月 4 日
編集済み: Kenny 2018 年 8 月 4 日
Just for asking something extra to this ..... can we disable this feature altogether? An option for turning it off?I'm using matlab 2018 right now. Thanks!!
[Update : found it ... preferences -> colors -> programming tools, where you can turn off higlights etc. One would expect that turning off the highlight feature would be under Editor options ...... but no, it's hidden in the color preferences.]
  4 件のコメント
Natalie Perlin
Natalie Perlin 2021 年 9 月 13 日
So helpful, thank you!!
Ricardo
Ricardo 2023 年 3 月 20 日
Thanks! This is what I was looking for.

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


N/A
N/A 2017 年 5 月 1 日
thanks

Claudio Acuna
Claudio Acuna 2020 年 11 月 15 日
Yes check
%%
en remove it or just leave one %
it is very anoying the yellow color, not relevant, but distracting
BR
Claudio

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by