MATLAB Answers

How can I get rid of the yellow background?

407 views (last 30 days)
David Koenig
David Koenig on 7 Mar 2015
Answered: Claudio Acuna on 15 Nov 2020 at 20:30
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.

  0 Comments

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 7 Mar 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.

More Answers (3)

Kenny
Kenny on 4 Aug 2018
Edited: Kenny on 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.]

  2 Comments

Christian Poppeliers
Christian Poppeliers on 9 Oct 2018
The best solution!! Jeez, that highlighting was ANNOYING!!!
P Lepage
P Lepage on 19 Oct 2020
thanks, that's the textbox I was looking for

Sign in to comment.



Claudio Acuna
Claudio Acuna on 15 Nov 2020 at 20:30
Yes check
%%
en remove it or just leave one %
it is very anoying the yellow color, not relevant, but distracting
BR
Claudio

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!