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

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

采纳的回答

KAE
KAE 2022-11-16
编辑:KAE 2022-11-16
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.

更多回答(0 个)

类别

Find more on Characters and Strings in Help Center and File Exchange

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by