Auto command correct/complete

3 visualizzazioni (ultimi 30 giorni)
Amin Ghasemi
Amin Ghasemi il 23 Ott 2016
Modificato: the cyclist il 23 Ott 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.

Risposte (1)

the cyclist
the cyclist il 23 Ott 2016
Modificato: the cyclist il 23 Ott 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.

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by