CTRL-C fails to halt execution in R2015a maci64

1 回表示 (過去 30 日間)
David
David 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
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.
David
David 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?

サインインしてコメントする。

回答 (1 件)

Philip Caplan
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).

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by