Highlighting ALL occurrences of a given string using Find
Show older comments
I'd like to search for a word that appears very often in my script — often enough that to go from occurrence to occurrence using F3 is not practical.
Instead, I would like to have all the occurrences of that word highlighted in my script, so I can quickly scan the script and find the occurrence i need.
I don't just mean highlighting of variables but of whatever search string is entered in the find box
Is there a way to do this in Matlab? In Chrome for instance it looks like this:

I'm almost certain this cannot be attained in the current version of Matlab, for which reason perhaps I would suggest this go down as a piece of feedback for the next version.
Accepted Answer
More Answers (0)
Categories
Find more on Language Support in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!