How to quit debug mode with shortcut when focus is on command window?

I've set up a shortcut to quit debug mode, however the shortcut only works when my focus is on the editor. If my focus is on the command window it does not work. Is there any way to make it work?

Antworten (1)

Jan
Jan am 15 Apr. 2018

0 Stimmen

Inside the command window Shift+F5 should exit the debug mode already as default. So where did you set which kind of "shortcut"?

5 Kommentare

Liyuan
Liyuan am 15 Apr. 2018
Bearbeitet: Liyuan am 15 Apr. 2018
Hmm neither shift f5 or shift-fn-f5 seem to work, I set it to ctrl-c in preferences, there is an action called exit debug mode, I'm using a mac btw.
Does this mean that you set the keyboard shortcut in the preferences of the command window to Ctrl-C and it does not work? Was it set to another key before? Does any other shortcut work in your command window?
Yes, I set the shortcut in preferences>keyboard>shortcut exit debug mode to ctrl-c. I realize that was the problem, after changing it to something else it works in the command window, however I still have issues with the shortcut for run (Run or continue execution). Currently I have it set to cmd-R, it doesn't work in command window, no matter what I set it to. Other shortcut keys seem to work fine in the command window. F5/fn-F5 don't work, I think I've changed them at some point.
Also, just to clarify, there are no apparent conflicts under "All possible conflicts".
Control c can never be reassigned. It is one of the shortcut restrictions.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 14 Apr. 2018

Kommentiert:

am 16 Apr. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by