In R2022, when I'm editing a mfile, is there a keyboard shortcut to replace text in the mfile? If I use CNTL F, the Find window opens and I have to manually select Replace from a dropdown menu. I think in R2021, the Find window had Replace already enabled, and maybe I could use CTRL R to replace text.

 Respuesta aceptada

Les Beckham
Les Beckham el 25 de Abr. de 2022

1 voto

Ctrl-H

6 comentarios

KAE
KAE el 25 de Abr. de 2022
Editada: KAE el 25 de Abr. de 2022
This will save me a ton of time.
How did you find this? It's not listed here. (Just want to make sure I'm not missing out on other useful text editing functions).
Les Beckham
Les Beckham el 25 de Abr. de 2022
I don't remember having to find this. I've just always used it.
It is a pretty common shortcut for search-and-replace in a lot of different software (Microsoft Office, for example).
KAE
KAE el 25 de Abr. de 2022
I am glad to know about it, so thanks.
Les Beckham
Les Beckham el 25 de Abr. de 2022
You are quite welcome.
Jacky Tsai
Jacky Tsai el 26 de Abr. de 2022
In the "Find" dropdown you have a list of find actions, alongside their shortcuts. Below is a screenshot taken with a Windows machine.
KAE
KAE el 26 de Abr. de 2022
That's great, thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

KAE
el 25 de Abr. de 2022

Comentada:

KAE
el 26 de Abr. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by