How can I get rid of the yellow background?

39 次查看(过去 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.

采纳的回答

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 个)

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 个评论

请先登录,再进行评论。


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