フィルターのクリア

Assign a custom shortcut to keyboard-shortcut

4 ビュー (過去 30 日間)
Diego
Diego 2013 年 8 月 1 日
コメント済み: Patrick 2019 年 4 月 1 日
Hello,
I've created a new shortcut on the bar on the top right with the following contents:
% Change Directory to Currently Selected File in Editor
cd(fileparts(matlab.desktop.editor.getActiveFilename));
Another has this:
% Open Explorer to Currently Selected File
winopen(fileparts(matlab.desktop.editor.getActiveFilename));
I use this quite frequently and am wondering if I can assign them to a keyboard shortcut. I can't seem to find them under prefrences-->keyboard..etc.
Thanks!

採用された回答

Sean de Wolski
Sean de Wolski 2013 年 8 月 1 日
You can get keyboard mnemonics by holding the [alt] key (Windows, not sure about others) and either releasing it or waiting a second. The number or letter to complete the mnemonic will appear, press this key and it will run.
  3 件のコメント
Matthew Eicholtz
Matthew Eicholtz 2016 年 9 月 23 日
Sean, do you know if it is possible to edit the keyboard shortcuts for the quick access toolbar? Say if I want to use Alt+C instead of Alt+1 for the first icon on the toolbar?
This answer makes me think it is not possible, but I hope it is.
Patrick
Patrick 2019 年 4 月 1 日
Same here. I would like for it to be possible. Using Alt+1 is not the most intuitive

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by