Make keyboard shortcut for a piece of code.

1 回表示 (過去 30 日間)
Brian
Brian 2015 年 2 月 20 日
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 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