Make keyboard shortcut for a piece of code.
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!