Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Assign a custom shortcut to keyboard-shortcut

Asked by Diego

Diego (view profile)

on 1 Aug 2013


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

Another has this:

% Open Explorer to Currently Selected File

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.




Diego (view profile)



No products are associated with this question.

1 Answer

Answer by Sean de Wolski

Sean de Wolski (view profile)

on 1 Aug 2013
Accepted answer

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.

1 Comment


Diego (view profile)

on 1 Aug 2013

thank you that did it!

Sean de Wolski

Sean de Wolski (view profile)

Contact us