How can I implement a "Find Next" and "Find Previous" button in the MATLAB Editor?

12 views (last 30 days)
When using the "Find" feature in the MATLAB Editor, I cannot quickly jump to the next occurrence or previous occurrence of the phrase I am trying to find. I want to use the Find Next button, such as is available in other text editors.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in Release 14 Service Pack 2 (R14SP2). For previous product releases, read below for any possible workarounds:
A "Find Previous" button is not available in the MATLAB Editor/Debugger.
You can find the next word in the MATLAB Editor by opening the Find and Replace dialog through the Edit menu or by typing Ctrl-F. Each time you push the Find button, the next occurrence of the word will be found.
After searching for the word once, close the Find and Replace dialog and use the F3 key to find the next occurrence or Shift-F3 to find the previous occurrence of the word.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!