command line completion / search
이전 댓글 표시
In older releases of Matlab, when you started typing a line that matched the beginning of a line in your command history, pressing the up arrow would take you to that line. In 2014a, pressing the up arrow takes you to the last line that contains a matching string anywhere in the line, which I find much less helpful. How do I tell it that I want to match the beginning of the line?
댓글 수: 2
Daniel
2015년 1월 10일
John D'Errico
2015년 1월 10일
I just checked on my Mac, using R2014b. No such problem.
채택된 답변
추가 답변 (1개)
John D'Errico
2015년 1월 10일
편집: John D'Errico
2015년 1월 10일
2 개 추천
I believe the reason I have no problem on my Mac is because of the preferences. In the preferences "Command History" tab, you can select "Match anywhere", or "Match beginning" via a choice of radio buttons. Logically, match beginning is what you wish to use. I tested it by changing that button, and I can get the behavior you saw.
So this is NOT a Mac specific issue, but a simple preference issue. Of course, it is vaguely possible that they changed this from R2014a to R2014b. In that case, time for an upgrade.
카테고리
도움말 센터 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!