Clear Filters
Clear Filters

How to deselect "Whole Word" option in editor search in R2022b?

2 views (last 30 days)
I am having trouble with the editor search in R2022b, accessed from CTRL-F from within the text of a mfile. If I search for a phrase such as "my_file" when the whole word in the editor is "my_file_is_being_edited", no hits are returned. When I was using R2016, I had this same problem; the solution was to uncheck the "Whole Word" checkbox at the bottom of the Find & Replace dialog. Unfortunately in 2022b, the Find & Replace dialog has no "Whole Word" checkbox. How can I deselect the "Whole Word" option in R2022b?

Accepted Answer

KAE
KAE on 16 Nov 2022
Edited: KAE on 16 Nov 2022
Sharing the answer that I just found, in case it helps someone. In the R2022b Find & Replace dialog, to the right of where you enter your search phrase, there is a symbol (underlined Ab) that you click to select or deselect the "Whole Word" option. So, it is there, just a bit more cryptic. And deselecting "Whole Word" does allow me to search for phrases inside of words.

More Answers (0)

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!