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

12 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by