When coding, why does matlab prevent me from writting ' " ^ ~ without waiting for the next character?

3 次查看(过去 30 天)
Hi!
When I type any of the following characters: ' " ^ ~ anywhere in the MATLAB environment, MATLAB holds while waiting for the next character to be typed.
For example: typing string='test doesn't put the second ' up until the next character is typed.
Thank you very very much - it's quite a frustrating/low level problem.
Matt
  4 个评论
Mischa Kim
Mischa Kim 2014-1-18
Following-up on Jan's comment, I'd speculate that you are using different regional/language settings for MATLAB than you do for all your other S/W. In which case the keyboard might and in some instances will behave differently. As an example, on a US keyboard the "^" character types just the way you would expect it. On a German keyboard you will experience the behaviour you described above.
Matt Molteno
Matt Molteno 2014-1-19
Thanks for the lead Jan, Mischa - you were exactly right. I resolved the issue by deleting the USA-international language option in Windows control panel, so it wasn't a MATLAB issue. Perhaps some common MATLAB key combination was setting it off.

请先登录,再进行评论。

采纳的回答

Mischa Kim
Mischa Kim 2014-1-18
Hello Matthew, this not a MATLAB functionality/feature. You will observe the same behavior in any word processing tool or in your favorite internet browser.
  1 个评论
Matt Molteno
Matt Molteno 2014-1-18
Thanks for the amazingly quick reply... I thought so as well - but it's only in MATLAB, I've tried all my other word processing programs MS.word,wordpad, notepad, firefox, etc. Any ideas?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by