How can I get rid of the yellow background?

조회 수: 38 (최근 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 CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by