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

4 visualizaciones (últimos 30 días)
KAE
KAE el 16 de Nov. de 2022
Editada: KAE el 16 de Nov. de 2022
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?

Respuesta aceptada

KAE
KAE el 16 de Nov. de 2022
Editada: KAE el 16 de Nov. de 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.

Más respuestas (0)

Categorías

Más información sobre Adding custom doc en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by