Make keyboard shortcut for a piece of code.

3 Ansichten (letzte 30 Tage)
Brian
Brian am 20 Feb. 2015
Hi I am editing a lot of subfunction which are located in different .m files than the one (main.m) they are called from. This means that I need to change the window tap to run the code and back again when I want to edit the code of the subfunction.
In order to not do this I would like to hit a a keyboard shortcut that runs a certain piece of code that runs the main file even though I am looking at another file in the following way:
hit the shortcut "F9" --> execute the code "run('main')
Thanks in advance :)

Antworten (0)

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by