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.
No products are associated with this question.
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.
Play games and win prizes!Learn more