Clear Filters
Clear Filters

Auto command correct/complete

4 views (last 30 days)
Amin Ghasemi
Amin Ghasemi on 23 Oct 2016
Edited: the cyclist on 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.

Answers (1)

the cyclist
the cyclist on 23 Oct 2016
Edited: the cyclist on 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.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!