Make keyboard shortcut for a piece of code.

1 次查看(过去 30 天)
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 :)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by