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

12 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by