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

3 Ansichten (letzte 30 Tage)
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 Kommentare
Mischa Kim
Mischa Kim am 18 Jan. 2014
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 am 19 Jan. 2014
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Mischa Kim
Mischa Kim am 18 Jan. 2014
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 Kommentar
Matt Molteno
Matt Molteno am 18 Jan. 2014
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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by