Auto command correct/complete

3 visualizaciones (últimos 30 días)
Amin Ghasemi
Amin Ghasemi el 23 de Oct. de 2016
Editada: the cyclist el 23 de Oct. de 2016
Hi. Is there any way or short-key for auto correct or complete a command. for example when i wrote Iumread its correct to imread and so on.

Respuestas (1)

the cyclist
the cyclist el 23 de Oct. de 2016
Editada: the cyclist el 23 de Oct. de 2016
While you are typing in the command window, if you hit "TAB", you will see the possible completions (but you need to have typed it correctly thus far).
After you try to enter a command, if it is incorrect (like "lumread"), then MATLAB may try to guess your intention, and offer something like
Did you mean:
>> dlmread
and you can just hit ENTER if it were what you intended.
I don't know if that is configurable.
If you tend to typo a particular command often, you could make a file that redirects that to the correct command.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by