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.
0 个评论
采纳的回答
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 个评论
更多回答(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.]
4 个评论
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!