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일

34 개 추천

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

David Koenig
David Koenig 2015년 3월 7일
Thanks!
Star Strider
Star Strider 2015년 3월 7일
My pleasure!
David - you can also thank him by "Accepting" and "Voting" for his answer.

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

추가 답변 (3개)

Kenny
Kenny 2018년 8월 4일
편집: Kenny 2018년 8월 4일

18 개 추천

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

The best solution!! Jeez, that highlighting was ANNOYING!!!
P Lepage
P Lepage 2020년 10월 19일
thanks, that's the textbox I was looking for
So helpful, thank you!!
Ricardo
Ricardo 2023년 3월 20일
Thanks! This is what I was looking for.

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

Claudio Acuna
Claudio Acuna 2020년 11월 15일

0 개 추천

Yes check
%%
en remove it or just leave one %
it is very anoying the yellow color, not relevant, but distracting
BR
Claudio

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2015년 3월 7일

댓글:

2023년 3월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by