Auto command correct/complete

3 vues (au cours des 30 derniers jours)
Amin Ghasemi
Amin Ghasemi le 23 Oct 2016
Modifié(e) : the cyclist le 23 Oct 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.

Réponses (1)

the cyclist
the cyclist le 23 Oct 2016
Modifié(e) : the cyclist le 23 Oct 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.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by