How to configure Up Key "Previous History Command" search behavior?

2 ビュー (過去 30 日間)
Matthew
Matthew 2018 年 12 月 5 日
回答済み: Matthew 2018 年 12 月 5 日
I have two PC's with Matlab 2017a on them. On one of them, when I type text into the command window and push up, it searches the previous history with a " myText* " search, i.e. the only wildcard in the search is at the end of the entered text.
On the other PC, the "previous history command" search instead executes a " *myText* " search, with wildcards at both the beginning and the end of entered text. I have no idea how I enabled this, but I would like to disable it.
Does anyone know how to configure what kind of search the "Previous History Command" performs?

採用された回答

Matthew
Matthew 2018 年 12 月 5 日
I actually found the answer shortly after asking:
The linked stack overflow answer states:
First, make sure that the command history window is docked (If you have a floating window every time you press up then it is not docked. There is a drop-down menu - little circle with a triangle inside. Open the menu and select "Dock").
Once\if the window is docked, open the menu again and make sure that "Match Beginning" is selected and not "Match Anywhere".
I should have googled "Previous History Command" prior to asking this question

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by