How can I get rid of the yellow background?

조회 수: 164(최근 30일)
David Koenig
David Koenig 2015년 3월 7일
댓글: Natalie Perlin 2021년 9월 13일
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
Image Analyst
Image Analyst 2015년 3월 7일
David - you can also thank him by "Accepting" and "Voting" for his answer.

댓글을 달려면 로그인하십시오.

추가 답변(3개)

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.]
  댓글 수: 3
Natalie Perlin
Natalie Perlin 2021년 9월 13일
So helpful, thank you!!

댓글을 달려면 로그인하십시오.

Abdulsalam Yazid
Abdulsalam Yazid 2017년 5월 1일

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


Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by