MATLAB Answers


CTRL-C fails to halt execution in R2015a maci64

さんによって質問されました 2015 年 4 月 27 日
最新アクティビティ David
さんによって 編集されました 2015 年 4 月 29 日
Yesterday I upgraded to R2015a. CTRL-C no longer halts execution. At first I thought it might be a keyboard mapping issue- I use CAPSLOCK as a CTRL key. Switching this back did not help.
Even if I run something very simple like pause(10), neither CTRL-C (nor anything else I am aware of save force quitting MATLAB), will interrupt for those 10 seconds.
This is very problematic for me as I am working with some numerical integrals that can easily take way too much time and need to be interrupted. Of course I can change the recursion depth to deal with this temporarily but I would still like CTRL-C to work.
UDPATE: Matlab 2015 no longer correctly maps DVORAK keys for the CTRL prefix. It does map correctly for COMMAND, and for no prefixes. Thus COMMAND C still copies, but CTRL-J halts execution. I think I'll repost this with a more appropriate heading.

  2 件のコメント

John D'Errico
2015 年 4 月 27 日
ctl-c does stop my Mac, running R2015a. No problems, I just tested it.
So it does seem that it has something to do with your keyboard, and possibly the remapping you have used.
2015 年 4 月 29 日
Of course I didn't seriously think CTRL-C wouldn't work for any mac's in R2015a, but thanks for jogging my memory-
I also use the Dvorak keyboard layout and this seems to be the issue- for some reason matlab maps all the letters correctly, but not when prefixed. So CTRL-J halts execution now instead of CTRL-C!
Anyone know why MATLAB has stopped supporting my keyboard layout correctly or how to get it back?

サインイン to comment.

1 件の回答

回答者: Philip Caplan 2015 年 4 月 28 日

Please try to regenerate your MATLAB preferences using the instructions in the following link:
If that does not resolve the issue, you might need to re-install R2015a with the original keyboard mapping (i.e. do not map Caps Lock as Ctrl key).

  0 件のコメント

サインイン to comment.

Translated by