How can I get rid of the yellow background?

76 vues (au cours des 30 derniers jours)
David Koenig
David Koenig le 7 Mar 2015
Commenté : Ricardo le 20 Mar 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.

Réponse acceptée

Star Strider
Star Strider le 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.
  3 commentaires
Star Strider
Star Strider le 7 Mar 2015
My pleasure!
Image Analyst
Image Analyst le 7 Mar 2015
David - you can also thank him by "Accepting" and "Voting" for his answer.

Connectez-vous pour commenter.

Plus de réponses (3)

Kenny
Kenny le 4 Août 2018
Modifié(e) : Kenny le 4 Août 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 commentaires
Natalie Perlin
Natalie Perlin le 13 Sep 2021
So helpful, thank you!!
Ricardo
Ricardo le 20 Mar 2023
Thanks! This is what I was looking for.

Connectez-vous pour commenter.


N/A
N/A le 1 Mai 2017
thanks

Claudio Acuna
Claudio Acuna le 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

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by