command line completion / search
Afficher commentaires plus anciens
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 commentaires
Daniel
le 10 Jan 2015
John D'Errico
le 10 Jan 2015
I just checked on my Mac, using R2014b. No such problem.
Réponse acceptée
Plus de réponses (1)
John D'Errico
le 10 Jan 2015
Modifié(e) : John D'Errico
le 10 Jan 2015
2 votes
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.
1 commentaire
Daniel
le 12 Jan 2015
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!