MATLAB Answers

2

How can I get rid of the yellow background?

Asked by David Koenig on 7 Mar 2015
Latest activity Commented on by Christian Poppeliers on 9 Oct 2018
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 Comments

Sign in to comment.

3 Answers

Answer by Star Strider
on 7 Mar 2015
 Accepted Answer

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 Comments

David - you can also thank him by "Accepting" and "Voting" for his answer.

Sign in to comment.


Answer by Kenny
on 4 Aug 2018
Edited by Kenny
on 4 Aug 2018

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.]

  1 Comment

The best solution!! Jeez, that highlighting was ANNOYING!!!

Sign in to comment.


Answer by Abdulsalam Yazid on 1 May 2017

thanks

  0 Comments

Sign in to comment.