How can I get rid of the yellow background?

39 Ansichten (letzte 30 Tage)
David Koenig
David Koenig am 7 Mär. 2015
Kommentiert: Ricardo am 20 Mär. 2023
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.

Akzeptierte Antwort

Star Strider
Star Strider am 7 Mär. 2015
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 Kommentare
Star Strider
Star Strider am 7 Mär. 2015
My pleasure!
Image Analyst
Image Analyst am 7 Mär. 2015
David - you can also thank him by "Accepting" and "Voting" for his answer.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (3)

Kenny
Kenny am 4 Aug. 2018
Bearbeitet: Kenny am 4 Aug. 2018
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 Kommentare
Natalie Perlin
Natalie Perlin am 13 Sep. 2021
So helpful, thank you!!
Ricardo
Ricardo am 20 Mär. 2023
Thanks! This is what I was looking for.

Melden Sie sich an, um zu kommentieren.


N/A
N/A am 1 Mai 2017
thanks

Claudio Acuna
Claudio Acuna am 15 Nov. 2020
Yes check
%%
en remove it or just leave one %
it is very anoying the yellow color, not relevant, but distracting
BR
Claudio

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by