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.
How to deselect "Whole Word" option in editor search in R2022b?
2 views (last 30 days)
Show older comments
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?
More Answers (0)
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!