Auto command correct/complete

조회 수: 3 (최근 30일)
Amin Ghasemi
Amin Ghasemi 2016년 10월 23일
편집: the cyclist 2016년 10월 23일
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.

답변 (1개)

the cyclist
the cyclist 2016년 10월 23일
편집: the cyclist 2016년 10월 23일
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.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by