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

1 回表示 (過去 30 日間)
KAE 2022 年 11 月 16 日
編集済み: KAE 2022 年 11 月 16 日
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 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 件)


Help Center および File ExchangeAnnotations についてさらに検索





Community Treasure Hunt

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

Start Hunting!

Translated by